[data grid] Deleting a row on cell Key down triggers an error #13445
Labels
component: data grid
This is the name of the generic UI component, not the React module!
customization: extend
Logic customizability
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
Steps to reproduce
Link to live example: (required)
https://codesandbox.io/p/sandbox/mui-x-issue-template-forked-3sfqpv?file=%2Fsrc%2FApp.tsx
Using the live example
Steps:
1.Select a cell
2.Press the delete key
Current behavior
Error
No row with id #1 found
Expected behavior
No error.
Pressing the delete key with a cell selected deletes the row where the cell is.
Context
Delete the row where a cell is selected when the user presses the delete key
Your environment
npx @mui/envinfo
Search keywords: delete row cellKeyDown
Order ID: 82553
The text was updated successfully, but these errors were encountered: