fix(search-box-by-type): Fix clear button focus (again)
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