[Webkit-unassigned] [Bug 222632] New: pointercancel event not fired on drag start

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 16:07:08 PST 2021


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

            Bug ID: 222632
           Summary: pointercancel event not fired on drag start
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: govett at adobe.com

The pointercancel event should be fired when starting a drag on an element with `draggable="true"`. This is made explicit in the spec: https://www.w3.org/TR/pointerevents2/#the-pointercancel-event and Firefox and Chrome behave this way. Safari on macOS does not.

Steps to reproduce:

1. Open https://codepen.io/devongovett/pen/MWbXYgR in Safari on macOS.
2. Mouse down on the button. Notice that it turns red due to pointerdown being fired.
3. Drag the button. Notice that it stays red due to pointercancel not being fired.
4. Open the example in Chrome and Firefox and perform the above steps. Notice that the button turns green on drag due to pointercancel being fired.

The behavior also appears to be correct in Safari on iOS.

-- 
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/20210303/de893204/attachment.htm>


More information about the webkit-unassigned mailing list