-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
[material-ui] Autocomplete right click triggers open #36075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for pointing this out. I'm afraid we can't change this behavior now, as there may be applications that depend on it, but we'll consider it for the upcoming major release. |
@michaldudak can I fix this, create the PR and then it can be merged whenever the "major releasse" is deployed? |
It may require some more work before we merge it (to resolve conflicts that may appear in the meantime), but sure, feel free to do it. |
i have an open PR awaiting for your review/approval click here |
@michaldudak looks like this issue is pending and PR require changes from a long time back, Can I take this up ? |
Could this one be v6? @DiegoAndai |
@mj12albert, I would keep it planned for v7 until we know all the zero-runtime breaking changes. If these breaking changes are few, we might add this one back to v6. Does that make sense to you? |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
https://mui.com/material-ui/react-autocomplete/
Steps:
Autocomplete
exampleCurrent 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
The text was updated successfully, but these errors were encountered: