-
-
Notifications
You must be signed in to change notification settings - Fork 955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LongPress gesture cancellation #316
Comments
I'm affected by this bug as well. Did you find any workaround @rt2zz? |
I have not, I suspect this could be achieved with PanGestureHandler with simultaneous handlers setup, but there were some implementation challenges I ran into and am not sure what a solution would look like. |
I also have the same issue. Seem to be strange. |
found the issue, on android Not sure why the iOS behavior does not match? |
On Android, when a long press is activated, and the user then pans away (without lifting the gesture) the LongPressGestureHandler enters a cancelled state.
in iOS the gesture does not cancel and continues to fire gesture events until the gesture is released by lifting the finger.
This comment seems to suggest that the iOS behavior is intended and that android has a bug: #94 (comment)
The bug prevents (afaict) the feature I am working on from being possible in RNGH: activate a chart scrubber upon long press.
The text was updated successfully, but these errors were encountered: