Changed the event listener target from window to document in droplab
requested to merge 26617-search-bar-filter-dropdown-does-not-dismiss-when-sort-dropdown-is-selected into master
What does this MR do?
Changes the droplab event listener target from window to target, this way droplab hides when pressing anything outside the element that invokes it
Are there points in the code the reviewer needs to double check?
None at the moment
Why was this MR needed?
QOL improvement on the new search bar
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #26617 (closed)