-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[material-ui] Autocomplete right click triggers open #36075
Copy link
Copy link
Closed
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.scope: autocompleteChanges related to the autocomplete. This includes ComboBox.Changes related to the autocomplete. This includes ComboBox.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Milestone
Metadata
Metadata
Assignees
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.scope: autocompleteChanges related to the autocomplete. This includes ComboBox.Changes related to the autocomplete. This includes ComboBox.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Projects
Status
Done
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://mui.com/material-ui/react-autocomplete/
Steps:
AutocompleteexampleCurrent behavior 😯
Right clicking the component renders the "opened" state of the list.
Expected behavior 🤔
Right click doesn't trigger an "onclick" event which opens the list.
Context 🔦
Right clicking is a native browser and OS system, which we shouldn't typically be listening to, especially on a search component.
Your environment 🌎
npx @mui/envinfo