react-native-gesture-handler
react-native-gesture-handler copied to clipboard
Fix `Gesture.Exclusive` and `onStart` not being called on web
Description
- moves checking if the state has changed to happen before
previousStategets overwritten, which makes GestureHandler correctly addoldStateprop to events - updates
waitForcheck so that it handles getting onlyhandlerTag, which is the case with the new API
Fixes https://github.com/software-mansion/react-native-gesture-handler/issues/2056 and https://github.com/software-mansion/react-native-gesture-handler/issues/2057.
Test plan
Tested on the Example app.
any idea when this will be merged?
Also ran into this issue and would be grateful if the solution could be merged provided it passes checks.
Gesture Handler 2.10.0 uses the new implementation by default, where this problem doesn't exist.