Skip to content

clickout.js need some optimization #1817

Closed
@rinick

Description

@rinick

right now it adds a global event listener on mount, so every time there is a click event the listeners will be called on every dropdown in the dom, even when they are display:none

to improve the performance, the listener should only be added when the dropdown is shown. and removed when dropdown is hidden

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions