-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
Description
What you were expecting:
Focus stays in the autocomplete input when selecting an option with mouse
What happened instead:
Component loses the focus and the focus goes to the first element of the page breaking tab navigation
Steps to reproduce:
Go to a form, click on an input with options like SelectInput or AutocompleteInput, select an option, then press tab to try to go to next input. But it fails to do so.
Related code:
No code modification form code sandox https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple?file=README.md
Other information:
Screencast.from.2024-03-12.17-09-50.webm
Environment
- React-admin version: 4.16.12
- Last version that did not exhibit the issue (if applicable):
- React version: 18
- Browser: Firefox 123
- Stack trace (in case of a JS error):
Reactions are currently unavailable