hperrin / svelte-material-ui

Svelte Material UI Components
https://sveltematerialui.com/
Apache License 2.0
3.33k stars 285 forks source link

<Autocomplete> does not close menu after selecting smaller similar values. #593

Open kazzkiq opened 1 year ago

kazzkiq commented 1 year ago

Describe the bug If you have similar values for an such as "Apple", "Apple Juice" and "Apple Juice Super", if you open the menu and click "Apple", the menu closes and reopens immediately.

To Reproduce Steps to reproduce the behavior:

  1. Simply follow this REPL link: https://svelte.dev/repl/c8ec001cb1604ff39efc89c11d60c196?version=3.58.0

Expected behavior The menu should close when any item is clicked, no matter what.

Screenshots