[Webkit-unassigned] [Bug 240917] New: pointercancel is not dispatched when touch-action: manipulation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 25 11:05:51 PDT 2022


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

            Bug ID: 240917
           Summary: pointercancel is not dispatched when touch-action:
                    manipulation
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Created attachment 459763

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

Code reproduction

When scrolling on a container that has touch-action: manipulation the pointercancel event is not dispatched. However, when touch-action: pan-x pan-y pinch-zoom is set the pointercancel event is dispatched.

Steps to reproduce:

1. Open attached code reproduction on Safari for iOS.
2. Open Developer Tools and inspect the page running in Safari.
3. Scroll on the scroll area with the header "touch-action: manipulation". Observe that the pointercancel event is not dispatched.
4. Scroll on the scroll area with the header "touch-action: pan-x pan-y pinch-zoom". Observe that the pointercancel event is dispatched.

Expected Behavior:

Since "manipulation" is an alias for "pan-x pan-y pinch-zoom" according to https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action#values, I would expect the pointercancel event to be dispatched when touch-action is "manipulation".

Actual Behavior:

pointercancel is not dispatched when touch-action: manipulation.


Other Info:

- This issue does not reproduce in Chrome for Android.
- I can reproduce this all the way back to iOS 13.0, so this behavior does not appear to have regressed.

-- 
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/20220525/f85e1664/attachment.htm>


More information about the webkit-unassigned mailing list