Svadilfari
Svadilfari copied to clipboard
Gesture recognition failed when start gesture while scroll decelerating
How to reproduce
- Scroll up or down
- Start gesture while inertial scrolling
Env
- iOS 16.0.2
- svadilfari v1.2.0
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
@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.