[Combobox] Intrinsic behavior along typing #3708
GabrielJesusS
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Headless UI library is awesome in everything what they do, but, why some behaviors can't be avoided or optionaly removed?
The Combobox component, most specifically the Combobox Input, trigger an "focus" into the first element every keydown event to improve the accessibility and the user experience making fast select the most matched item into the list.
But, this behavior just make sense if the list is sorted into some way that matched item come in first place, if isn't? Why I can't optinaly disable this feature? Why this "autoFocusFirst" can't be exposed? If this is relvant, I can make a pull request for this?
Has an PR opened about this feature but is freezed and is just for vue: [Add defaultToFirstOption prop to Combobox #3564]
Beta Was this translation helpful? Give feedback.
All reactions