Bug 187940

Summary: Cannot use drag and drop API with custom elements
Product: WebKit Reporter: Tim Horton <thorton>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, bdakin, rniwa, simon.fraser, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 148695    
Attachments:
Description Flags
repro none

Tim Horton
Reported 2018-07-23 23:18:21 PDT
Created attachment 345636 [details] repro See attached repro case. I cannot find a way to make a custom element that successfully drags using draggable=true/ondragstart. The equivalent content not inside a custom element shadow DOM works fine.
Attachments
repro (934 bytes, text/html)
2018-07-23 23:18 PDT, Tim Horton
no flags
Tim Horton
Comment 1 2018-07-23 23:24:28 PDT
dragStart does get called...
Radar WebKit Bug Importer
Comment 2 2018-07-24 08:37:18 PDT
Ryosuke Niwa
Comment 3 2018-07-31 19:14:13 PDT
Oh, this is an issue with shadow DOM, not custom elements.
Ryosuke Niwa
Comment 4 2018-09-20 22:43:48 PDT
*** This bug has been marked as a duplicate of bug 136836 ***
Note You need to log in before you can comment on or make changes to this bug.