Gesture callback differences between platforms #2263
Labels
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Repro provided
A reproduction with a snack or repo is provided
Description
For certain gestures, the callbacks that are called, or the order in which they are called, differs between platforms. I listed the difference I've found below. The tables show the order of events from top to bottom.
Tap gesture (if pressed quickly):
Tap gesture (if pressed and held):
LongPress gesture (if pressed quickly):
LongPress gesture (if pressed and held):
Fling gesture (when a fling is detected):
Pinch gesture, Rotation gesture, and Native gesture (when pressed):
Manual gesture (when pressed). In the provided Snack, this only happens on the first press because the gesture is never finalized:
Steps to reproduce
Snack or a link to a repository
https://snack.expo.dev/@elliotwaite/rngh-event-order-test
Gesture Handler version
2.5.0
React Native version
0.69.0
Platforms
Android, iOS
JavaScript runtime
No response
Workflow
No response
Architecture
No response
Build type
No response
Device
No response
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: