Skip to content

Bug with event.stopPropagation() on container completely breaking functionality #4158

@chakaponi

Description

@chakaponi

event.stopPropagation() that was triggered in 'mousedown' listener on container (it can be any container, document.body, for example) break selector (expand, select, etc) if listener function was added after render Select

To reproduce the error, run document.body.addEventListener('mousedown', (event) => { event.stopPropagation() }); in console and click on selector

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetissue/reviewedIssue has recently been reviewed (mid-2020)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions