[Webkit-unassigned] [Bug 186994] New: Dragging shadow DOM child immediately triggers dragend

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 01:38:38 PDT 2018


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

            Bug ID: 186994
           Summary: Dragging shadow DOM child immediately triggers dragend
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: achim.weimert at gmail.com

Hi there,

When setting a Web Component to be draggable and starting the drag operation (via mouse down) on a child of that Web Component within its shadow DOM, the dragstart event is immediately followed by dragend and the drag operation is cancelled. Dragging the shadow DOM host itself works fine.

Simple Example:
https://codepen.io/a-xin/pen/XYBpNG?editors=1001

Environment:
macOS 10.13, Safari 11.1

Other browsers:
Starting the drag operation on either the host or the child works fine in Firefox and Chrome.

Impact:
Drag-and-drop does not work when using Web Components

-- 
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/20180625/b5e54d6c/attachment-0001.html>


More information about the webkit-unassigned mailing list