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
Pan gesture works usually fine inside a ScrollView or other component except some cases, when I try to drag an item a while after scrolling the scrollable parent container. I would expect the Pan gesture to activate in such a case as well but instead, I have to wait for a noticeable amount of time until it works again. Before this time elapses, the Pan gesture calls just the onTouchesDown and onBegin callbacks and no other callback is called later on (if the gesture cannot be handled, I would expect to just receive the onFinalize callback call to handle such a case).
I noticed the problem only on iOS (simulator and real device).
Example recording
Screen.Recording.2024-08-15.at.12.48.57.1.mp4
Steps to reproduce
Clone this repo and build the app from the main branch
Description
Pan gesture works usually fine inside a
ScrollViewor other component except some cases, when I try to drag an item a while after scrolling the scrollable parent container. I would expect the Pan gesture to activate in such a case as well but instead, I have to wait for a noticeable amount of time until it works again. Before this time elapses, the Pan gesture calls just theonTouchesDownandonBegincallbacks and no other callback is called later on (if the gesture cannot be handled, I would expect to just receive theonFinalizecallback call to handle such a case).I noticed the problem only on iOS (simulator and real device).
Example recording
Screen.Recording.2024-08-15.at.12.48.57.1.mp4
Steps to reproduce
mainbranchSnack or a link to a repository
https://github.com/MatiPl01/gesture-handler-issues
Gesture Handler version
2.18.1
React Native version
0.74.5
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
New and Old
Build type
Debug mode
Device
iOS simulator, real device
Device model
tested on iPhone 15 Pro (real device, simulator)
Acknowledgements
Yes