thisbeyond / solid-select

The Select component for Solid.
https://solid-select.com
MIT License
172 stars 18 forks source link

auto-correct suggestions leads to choosing the wrong option when using mouse #48

Closed MaAlkhalaf closed 2 months ago

MaAlkhalaf commented 9 months ago

I have been developing a tauri app using solidjs. And I have noticed the following bug: when user starts typing in a field there probably will be an auto-correct suggestion box. If the user tries to click with the mouse on an option, the blur effect on input will force the input to takeover the suggestion.

Screenshot 2023-11-15 at 15 06 34

This will change the displayed options. The user will click unintentionally other option without even noticing why this happened (all this happens in an instance)

to disable the auto-correct this attribute should also be added to the input autoCorrect = "off" Please note: I am developing using macos Somona 14.0 not sure if this also happens on other os. other technical details are:

"solid-js": "^1.7.7",
"@tauri-apps/api": "^1.4.0",
"@thisbeyond/solid-select": "^0.14.0",