[material-ui][Autocomplete] Seeking guidance about a navigation behavior to prevent looping between first and last options #40635
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
package: material-ui
Specific to @mui/material
support: Stack Overflow
Please ask the community on Stack Overflow
The problem in depth
I have a question regarding the functionality of the Autocomplete component.
Specifically, I am seeking a solution where pressing the down arrow key, while the last option in the list is highlighted, does not loop back to the first option. Similarly, I want to avoid the reverse scenario where pressing the up arrow key, when the first option is highlighted, does not lead to the last option in the list.
I appreciate your expertise and would be grateful for any guidance or insights you can provide on how to adapt or replicate the behavior observed in the Select component for the Autocomplete component.
Your environment
`npx @mui/envinfo`
Search keywords: stop looping through mui autocomplete options when the last option is highlighted
Order ID: 67541
Search keywords:
The text was updated successfully, but these errors were encountered: