pstanoev / simple-svelte-autocomplete

Simple Autocomplete / typeahead component for Svelte
http://simple-svelte-autocomplete.surge.sh/
MIT License
464 stars 78 forks source link

Query highlighting is broken in async context #154

Closed azmeuk closed 2 years ago

azmeuk commented 2 years ago

Query highlighting is ok for regular contexts, but not in async contexts. This can be seen in the demo.

Screenshot 2022-04-13 at 09-37-29 Svelte Simple Autocomplete Demo

The fix should be simple, but I think we should make a test for this to prevent future regressions.