WEB/NATIVE inconsistent behaviour of pan gesture callbacks with manual activation. #2907
Labels
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Platform: Web
Repro provided
A reproduction with a snack or repo is provided
Description
In the
onTouchesDown
callback,stateManager.fail()
is called. It works as expected in native, but in the web, callbacksonTouchesMove
,onTouchesUp
etc continue to trigger, which should not happen.Run the code below, swipe your finger across the screen, and watch the console.
In the web, you will see the following output:
In the native, you will see the following output:
It seems like this is an issue that hasn't been fully resolved #2869.
@m-bert what do you think?
Steps to reproduce
try it on Snack
Snack or a link to a repository
https://snack.expo.dev/DPDgCkZ0hbai5s51p3AcM
Gesture Handler version
2.16.2
React Native version
0.71.9
Platforms
Android, iOS, Web
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: