Skip to content

fix(search-box-by-type): Fix clear button focus (again)

Nathan Friend requested to merge nfriend-fix-clear-button-focus-again into master

What does this MR do?

This is a second attempt at fixing the bug described in !1521 (merged) (and reverted in !1527 (merged)). See !1521 (merged) for more details and GIFs.

Instead of using v-show, as was attempted in !1521 (merged), this MR uses a setTimeout to ensure that the clear button no longer has focus before it is removed from the DOM.

Edited by Nathan Friend

Merge request reports

Loading