Skip to content

onDropDownClose is called much more than expected #127

@Karolis92

Description

@Karolis92

There is no documentation on how this should work, but I would expect other behavior.
When (onDropDownClose)="close()" is used, close() is called not only when dropdown is closes, but also every time mouse is clicked anywhere else except component.

https://stackblitz.com/edit/angular-cvzxsx - click anywhere on the white background to see how each time message is logged to the console.

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