Skip to content

Commit

Permalink
fix: clear search bar input when it loses focus
Browse files Browse the repository at this point in the history
  • Loading branch information
timakro committed Jan 31, 2025
1 parent 9e5d7e4 commit b7fea4e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@
}}
on:focusout={() => {
autoCompleteOpen = false;
inputValue = "";
}}
/>
{#if autoCompleteOpen && inputValue.length > 2}
Expand Down

0 comments on commit b7fea4e

Please sign in to comment.