[Webkit-unassigned] [Bug 223594] New: pointerdown event not fired after dragging an element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 22 12:47:47 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223594
Bug ID: 223594
Summary: pointerdown event not fired after dragging an element
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
After dragging an element with draggable="true", the pointerdown event is not fired on another element until the user clicks twice. It seems Safari thinks the mouse is still pressed, so a pointerup event is necessary before another pointerdown event will fire.
Steps to reproduce:
1. Open https://codepen.io/devongovett/pen/poRozBz
2. Drag the element labeled "Draggable" and release it
3. Click the button labeled "Button with pointer events". Notice that the text does not turn red because the onpointerdown event is not fired. Click again and see that it does turn red.
Note that this only happens with pointer events, not mouse events. This can be seen by repeating steps 1 and 2 above, then clicking on the button labeled "Button with mouse events". The button's text turns red on the first click.
This also appears to only happen on Safari for macOS. I tested on iPadOS and it appears to work as expected.
This issue is possibly related to two other issues, which also show Safari getting into a weird state with pointer events:
1. https://bugs.webkit.org/show_bug.cgi?id=222632
2. https://bugs.webkit.org/show_bug.cgi?id=219188
--
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/20210322/70f976d9/attachment.htm>
More information about the webkit-unassigned
mailing list