[material-ui][Autocomplete] Using limitTags prevents clicking buttons outside of autocomplete while autocomplete is focused #41689
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
Steps to reproduce
Link to live example: issue is also in the MUI docs
Steps:
Current behavior
The autocomplete is unfocused, but the click on the button is ignored.
Expected behavior
The click is also propagated to the button.
Context
We have a form with an AutoComplete where we set
limitTags
to prevent the AutoComplete from growing indefinitely. When people make a change to the selection in the AutoComplete and immediately click our 'Save changes' button, the click is not propagated to the button and the changes are not saved.Your environment
Tested on latest Chrome (linux and mac) and Firefox (linux).
Search keywords: Autocomplete limitTags
The text was updated successfully, but these errors were encountered: