NEW 204201
Once prevented touchmove cannot continue scroll
https://bugs.webkit.org/show_bug.cgi?id=204201
Summary Once prevented touchmove cannot continue scroll
Dmitry
Reported 2019-11-14 12:58:06 PST
## Description Once event.preventDefault() called in touchmove passive event handler scroll will not continue even if preventDefault() is no longer called in event handler. This blocks solving situations when you want to have scroll thresholds: e.g., if you need to determine what user do in some kind of gallery or let's say 360 viewer. ## Example https://jsfiddle.net/nerj63vy/2/view https://jsfiddle.net/nerj63vy/2 ## Expected behavior Like in Chrome, really check what event listener does and don't prevent scrolling if default action is no longer prevented.
Attachments
Dmitry
Comment 1 2019-11-14 13:02:46 PST
*active event handler, of course. In example above, you can try to scroll down for first three-five seconds without raising a finger and will get nothing even when three-seconds timer passes. In other browsers after timeout page is got scrollable again
Dmitry
Comment 2 2019-11-14 14:08:15 PST
Seems like the first link is broken sorry https://jsfiddle.net/nerj63vy/2/show
Radar WebKit Bug Importer
Comment 3 2019-11-17 16:39:55 PST
Dmitry
Comment 4 2019-11-25 05:38:20 PST
May someone send me http link instead of rdar, it just don't work and I can't track is there any reponse
Note You need to log in before you can comment on or make changes to this bug.