Skip to content

fix(reset): always render SearchResetcomponent

Twan Driessen requested to merge feature/fix_searchterm_clear into master

Rendering this component conditionally, caused the clear function from the useSearchBox() hook to be called somehow. So, instead we always render the SearchReset component, but add classes to visually hide the element.

Merge request reports

Loading