Skip to content

Searchbar clear button events

Tomas Bulva requested to merge 359982-clear-button-events into master

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

  1. Checkout this branch
  2. Click inside the header search bar
  3. Input any search term and press the tab button
  4. You should land on the clear button and the search bar stays expanded
  5. 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.

Related to #359982 (closed)

Edited by Tomas Bulva

Merge request reports