Open adbl opened 7 years ago
cc @janicduplessis
You can reproduce it by clicking "<" when stack is animating a new route as a result of push
call.
Fixed https://github.com/exponent/ex-navigation/commit/e4026ed878fdc28be155566dc1533e4bbe840796, we just have to update.
We have some thumbnails and when pressed a Modal route is pushed showing the image in "fullscreen". it transitions from transparent to black. It fades out the same way when the fullscreen image is tapped again. If, while the scene is fading out, the thumbnail is pressed again there is a crash:
This may accidentally happen. What would be a good solution? It's really weird for another scene (on a different Stack) to know that a route transition is ongoing.
I see these
debounce
decorators onExNavigationStack
, what ifExNavigationContext.performAction
debounces instead?