[Autocomplete] Navigation event is triggered twice by IME #23044
Labels
bug 🐛
Something doesn't work
component: autocomplete
This is the name of the generic UI component, not the React module!
ready to take
Help wanted. Guidance available. There is a high chance the change will be accepted
Current Behavior 😯
When the ArrowDown↓ is pressed at IME composing state, the second below option is highlighted.
(This is not only for ArrowDown↓ key. All of the below switch-case's each key has this problem)
https://github.com/mui-org/material-ui/blob/5c9c97675f3e7d3978e664520f3fbbe595c78eee/packages/material-ui/src/useAutocomplete/useAutocomplete.js#L662-L771
Expected Behavior 🤔
When the ArrowDown↓ is pressed at IME composing state, the first below option should highlighted.
Steps to Reproduce 🕹
Steps:
Context 🔦
This Problem is related to #19435.
To expected behavior, I think below whole swich-case statements should place under the if statement of
https://github.com/mui-org/material-ui/blob/5c9c97675f3e7d3978e664520f3fbbe595c78eee/packages/material-ui/src/useAutocomplete/useAutocomplete.js#L662-L771
Your Environment 🌎
The text was updated successfully, but these errors were encountered: