metonym / svelte-typeahead

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

Auto-selected result should exclude disabled results #56

Closed metonym closed 2 years ago

metonym commented 2 years ago

If the first result is disabled, it will still be highlighted as "selectable." The expected behavior is that the first non-disabled result should be highlighted if autoselect is true.

Disabled result highlighted