metonym / svelte-typeahead

Accessible, fuzzy search typeahead component
https://metonym.github.io/svelte-typeahead
MIT License
222 stars 18 forks source link

Avoid dropdown when value is already selected #58

Open benquan opened 2 years ago

benquan commented 2 years ago

When the component gets focus and there is already a value selected, the drop down should not fire. When you just entered the page, the first click does not fire the dropdown (which is good) but after that any focus it gets will fire automatically the dropdown.

Here is a REPL where I am testing: REPL

Ben