Searchbar clear button events
What does this MR do and why?
The clear button inside the search bar default event handling is not working in this case. This MR is adding custom event handlers to fix this.
Screenshots or screen recordings
before | after |
---|---|
clear-button-handler-before | clear-button-handler-after |
How to set up and validate locally
- Checkout this branch
- Click inside the header search bar
- Input any search term and press the tab button
- You should land on the clear button and the search bar stays expanded
- Click the clear button, the search bar clears and stays expanded
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