You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When performing a pinch gesture on Android, if one finger is lifted, the numberOfPointers property incorrectly remains at 2. This causes the focal point coordinates (focalX and focalY) to shift drastically, disrupting the pinch gesture handling.
You can view the experience here (please ignore the offsets it's a quick example):
Description
When performing a pinch gesture on Android, if one finger is lifted, the
numberOfPointersproperty incorrectly remains at 2. This causes the focal point coordinates (focalXandfocalY) to shift drastically, disrupting the pinch gesture handling.You can view the experience here (please ignore the offsets it's a quick example):
Screen_Recording_20250305_183544_gesture-pinch-bug-android.mp4
This only happens on android, the experience of pinching is always creating the "jumping" effect.
Any help would be appreciated :3
Steps to reproduce
numberOfPointers,focalX, andfocalYduring theonChangeoronUpdateevent.Snack or a link to a repository
https://snack.expo.dev/@znikap/bug-android-on-pinch
Gesture Handler version
2.20.2, 2.24.0
UPD: Is not happening on 2.16.2
React Native version
0.74.5
Platforms
Android
JavaScript runtime
None
Workflow
Expo SDK 51
Architecture
None
Build type
None
Device
Real device
Device model
No response
Acknowledgements
Yes