Skip to content
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

Gesture recognition failed when start gesture while scroll decelerating #53

Open
r-plus opened this issue Sep 29, 2022 · 2 comments
Open

Comments

@r-plus
Copy link

r-plus commented Sep 29, 2022

How to reproduce

  1. Scroll up or down
  2. Start gesture while inertial scrolling

Env

  • iOS 16.0.2
  • svadilfari v1.2.0
@r-plus
Copy link
Author

r-plus commented Jan 8, 2024

Safari will not fire the touchmove event when user start the touch while momentum scrolling.
scroll event is not help to workaround this for gesture recognition, horizontal finger move without scroll will not fire the event.

https://developer.apple.com/forums/thread/99316

@shumbo
Copy link
Owner

shumbo commented Jan 8, 2024

@r-plus Thank you for opening the issue and looking into this (and my apologies for negligence). My understanding is that Safari doesn't fire touchmove events while the scroll is in progress, and it seems that your link confirms this behavior.

While I see the issue, I can't think of any workaround. Let me know if you have any ideas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants