-
Notifications
You must be signed in to change notification settings - Fork 315
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Looking at the code in "element-adapter.js":
var target = event.target;
// see if the thing being dragged is owned by us
var entry = draggableRegistry.get(target);
If the dragged element is contained within the shadow root of another web component then 'target' above won't be the element being dragged but will instead be the web component due to event re-targetting. The following code sandbox shows the issue:
https://codesandbox.io/p/sandbox/pdnd-web-components-forked-l8f6tv
driskull, MichaelBrunn3r, justinfagnani and lkritsimas
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed