Escaping the navbar search dropdown does nothing on certain pages
What does this MR do and why?
This fixes behavior when the user presses escape when inside the header bar. In order to achieve this, I had to refactor the code to split the shrinking behavior from the dropdown itself.
Screenshots or screen recordings
before | after |
---|---|
Kapture_2022-07-13_at_18.34.11 | Kapture_2022-07-13_at_18.36.33 |
How to set up and validate locally
- check out this branch
- click on the header search bar
- type any search term and press escape
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #359982 (closed)
Edited by Tomas Bulva