Skip to content

Mouse events stop triggering on container when a child (the event.target) is removed. #651

Open
@probityrules

Description

@probityrules

If we create mouse event listeners for "pressmove" and "pressup" on a Container, the events are successfully triggered as long as the initial event target (a child of the Container) remains in the container.

However, if we remove the child from the container after a "mousedown" but before a "pressup", the mouse events stop firing altogether until another "mousedown" event occurs. Since the Container has the event listeners and not the child, we would expect the events to continue since the Container remains present. This only occurs when the event target is removed: other children of the Container can be removed without incident.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions