You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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.
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