[Webkit-unassigned] [Bug 202896] New: Setting "-webkit-user-select: none" breaks "touch-action: pan-y"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 13 12:35:25 PDT 2019


            Bug ID: 202896
           Summary: Setting "-webkit-user-select: none" breaks
                    "touch-action: pan-y"
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: m at rcel.cz

Created attachment 380849

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

test case

"touch-action: pan-y" correctly handles gestures that start with vertical swipe and scrolls the list (my listener receives pointercancel after a few events). Gestures starting with horizontal swipe are correctly delivered to my listeners (no matter how far vertically I swipe after that).

After adding "-webkit-user-select: none" I swipe horizontally and receive events. However if I change direction and go few pixels up or down, the list starts scrolling and listener receives pointercancel.

Please see attached sample for test case:

1) Swipe horizontally (for example like in swipe to delete - from right to left) on an item. (Keep finger on display)
2) Then change direction - go up or down.
2a) Without "-webkit-user-select: none": List doesn't scroll, listeners continue receiving events
2b) With "-webkit-user-select: none": List starts scrolling, listeners receive pointercancel

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/20191013/7e80cacf/attachment.html>

More information about the webkit-unassigned mailing list