Skip to content

The dragstart does not propagate from shadow dom #186

@qwiglydee

Description

@qwiglydee

The created 'dragstart' event misses 'composed' flag set.

"""
The read-only composed property of the interface returns a boolean value which indicates whether or not the event will propagate across the shadow DOM boundary into the standard DOM.

All UA-dispatched UI events are composed (click/touch/mouseover/copy/paste, etc.).
Most other types of events are not composed, and so will return false.
"""

Use case: a custom element with lots of draggables in its shadow dom and a common ondragstart handler on itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions