Bug 175869
Summary: | Fallout from making touch events on document/window passive by default | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dean Jackson <dino> |
Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | ap, dave+webkit, john.firebaugh, jonlee, rbyers, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=175346 https://bugs.webkit.org/show_bug.cgi?id=133112 |
Dean Jackson
Bug 175346 changed event listeners for touchstart and touchmove on the document (+ body + window + document element) to be passive unless otherwise specified. This bug is going to collect any breakage from that change.
When Chrome made this change they saw a small number of sites break. Usually this appears as double scrolling, or some element moving at a different rate from the rest of the page.
Please note the URL here, and do not revert the original change. We plan to deal with this through evangelism if we can't detect in code.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/34027632>
Rick Byers
Note that our guidance to affected sites is to rely on CSS touch-action instead of depending on TouchEvent.preventDefault: https://developers.google.com/web/updates/2017/01/scrolling-intervention
Really passive touch listeners are only a reasonable choice when touch-action is fully supported - see https://bugs.webkit.org/show_bug.cgi?id=133112#c2.
Safari is likely to see more web compat problems than Chrome unless/until WebKit gets touch-action support.
Jon Lee
We haven't seen reports of this.
John Firebaugh
https://bugs.webkit.org/show_bug.cgi?id=182521
https://github.com/mapbox/mapbox-gl-js/issues/6095
> Safari is likely to see more web compat problems than Chrome unless/until WebKit gets touch-action support.
+1