[Webkit-unassigned] [Bug 202287] New: pointerdown events are not fired for clicks that follow a drag&drop.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 26 14:12:32 PDT 2019


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

            Bug ID: 202287
           Summary: pointerdown events are not fired for clicks that
                    follow a drag&drop.
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aurelien_roy at outlook.com

Bug confirmed on stable releases of :
 - Safari 13.0.0 / Mojave 10.14.6
 - Safari 13.0.1 / Mojave 10.14.6

Overview :

"pointerdown" events are not fired for clicks that follow a drag&drop.

How to reproduce :

- Add an event listener to a draggable DOM element for "pointerdown" event.
- If you click on it, the event will fre.
- Drag the element and release it.
- The next time you will click on it, "pointerdown" event won't fire.
- Following clicks will work again until the next drag&drop.

Codepen : https://codepen.io/Tlokuus/pen/JjPVrLy


This causes some commonly used JS libraries do not work propertly, for instance :
 https://github.com/SortableJS/Sortable/issues/1571

-- 
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/20190926/9d4926ba/attachment.html>


More information about the webkit-unassigned mailing list