[Autocomplete] multiple, filterSelectedOptions, autoHighlight stops working after "no options" state #23065
Closed
2 tasks done
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Autocomplete with flags
multiple
,filterSelectedOptions
,autoHighlight
has an issue withautoHighlight
stopping working after reaching state "No options" when entering text. Only after user explicitly selects an option from the list (either by mouse click or by arrow-down key), it starts working again.Current Behavior 😯
For
Autocomplete
multiple
withautoHighlight
andfilterSelectedOptions
, there are issues with auto-highlighting after a user enters text resulting in "No options" state. After reverting, by using Backspace key, the options again are shown, but auto-highlighting no longer works.Expected Behavior 🤔
After reverting the text, so that "No options" state disappears and options are shown, the matched option should be highlighted again.
Steps to Reproduce 🕹
See code-sandbox -
Autocomplete
multiple
withautoHighlight
andfilterSelectedOptions
.To reproduce:
Context 🔦
Your Environment 🌎
The text was updated successfully, but these errors were encountered: