How to handle fast click events that can push a configuration to prevent crash? #267
Answered
by
arkivanov
plusmobileapps
asked this question in
Q&A
-
I noticed one thing when I clicked fast on a button that could push a new configuration, but because it was so fast it actually caused a crash I think due to the changes from #244 .
Should click events just be throttled of pushing a configuration? Or maybe silently throw an error in a callback if it already exists on the stack? |
Beta Was this translation helpful? Give feedback.
Answered by
arkivanov
Nov 17, 2021
Replies: 1 comment
-
This probably because of the animations. The previous screen is still interactive while it is being animated. You can throttle clicks - probably easiest solution. Or disable it, if it is not the current screen. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
plusmobileapps
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This probably because of the animations. The previous screen is still interactive while it is being animated. You can throttle clicks - probably easiest solution. Or disable it, if it is not the current screen.