-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Problem:
Suppose you have two multi-select input fields, both with search input fields.
Now you click on one of them and its dropdown opens. Now suppose you click on another one's search, then its dropdown opens, but the previous ones dropdown doesn't close.
Reason:
That's because we have an event listener attached to the search sub-component, which stops the event propagation.
But for closing any dropdown, we have event listeners attached to the document.
So, if we click on the search sub-component, the event doesn't reaches to the document and thus the dropdown doesn't close.
Metadata
Metadata
Assignees
Labels
No labels