-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Tab to edit cell rendered with renderEditCell in row edit mode #9020
Comments
I didn't understand correctly what is expected. If the cell is in view mode and I press Tab the focus is moved to the next focusable element. In the case of the demo provided it goes to |
Thank you for your answer |
When Tab is pressed and the currently focused cell is not the last one in the row we disable the default focus and delegate to the edit component to focus the appropriate element. We do this by passing mui-x/packages/grid/x-data-grid/src/components/cell/GridEditInputCell.tsx Lines 119 to 123 in 3d2939d
|
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/mui-x-issue-template-forked-cqdinb?file=/src/App.tsx
Steps:
Current behavior 😯
Focus remains on cell with value cell_1
Expected behavior 🤔
Focus moves to cell with value cell_2
Context 🔦
tab to the next cell in row edit mode
Your environment 🌎
npx @mui/envinfo
Browser: chrome
Order ID or Support key 💳 (optional)
59960
The text was updated successfully, but these errors were encountered: