Replies: 1 comment
-
This was discussed in a issue with PR with the conclusion that behaviour differs from operating systems, browsers and similar native HTML elements meaning there is no clear correct way to handle this. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
The Combobox component currently selects an item from ListBox and triggers onInputChange when the ListBoxItem is focused and the key Tab is keydown. Demo (enter Favorite Animal input, press ArrowDown, press Tab, Aardvark is now selected).
According to W3C pattern for Combobox this doesn't seem like this is suggested behaviour. And this is not how a select element works.
This comes from Changed the behavior of bluring the combobox to not select the focused item. Instead, this is only done when using the keyboard to blur (Tab key). It was weird to hover over an item and then click outside and it selected that option.
Is this the expected behaviour or would a PR be welcome?
Beta Was this translation helpful? Give feedback.
All reactions