[Webkit-unassigned] [Bug 239416] New: "touch-action: none" does not prevent page change gestures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 16 04:28:43 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239416

            Bug ID: 239416
           Summary: "touch-action: none" does not prevent page change
                    gestures
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: h.dodov at gmail.com

Created attachment 457746

  --> https://bugs.webkit.org/attachment.cgi?id=457746&action=review

Bug reproduction page

Pointer gestures starting on a `touch-action: none` element should not trigger the browser's default behavior of going to previous/next page.

The spec (https://www.w3.org/TR/pointerevents3/) says:
> Direct manipulation interactions that begin on the element MUST NOT trigger behaviors related to viewport panning and zooming.

Page change gestures don't manipulate the viewport itself. Thus, one could argue that touch-action should not affect them. However, this introduces unexpected end-user behavior. If a page implements custom panning gestures, the user could suddenly go to a different page, due to the default browser behavior. Since touch-action's purpose is to enable custom gestures and get default browser behavior out of the way, I believe it should cover page change gestures as well.

Android browsers also have similar page change gestures from the edge of the screen, but `touch-action: none` disables them, as expected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220416/7c4d13e3/attachment-0001.htm>


More information about the webkit-unassigned mailing list