Skip to content

Conversation

@siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Dec 3, 2025

closes #20542

Please see the original issue for details

@siriwatknp siriwatknp added scope: data grid Changes related to the data grid. plan: Premium Impact at least one Premium user. feature: Editing Related to the data grid Editing feature feature: Cell Selection Related to the cell selection feature labels Dec 3, 2025
@siriwatknp siriwatknp requested review from a team and cherniavskii December 3, 2025 08:07
@siriwatknp siriwatknp added the type: bug It doesn't behave as expected. label Dec 3, 2025
@mui-bot
Copy link

mui-bot commented Dec 3, 2025

Deploy preview: https://deploy-preview-20544--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 🔺+35B(+0.01%) 🔺+15B(+0.01%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 7477e82

…remium.test.tsx

Co-authored-by: sai chand <[email protected]>
Signed-off-by: Siriwat K <[email protected]>
@michelengelen
Copy link
Member

For some reason it does not fix it fully:

  • selecting cells by dragging still removes the selection when pressing space bar
  • selecting cells by using SHIFT+click it works as expected
Screen.Recording.2025-12-08.at.10.40.47.mov

@siriwatknp
Copy link
Member Author

  • selecting cells by dragging still removes the selection when pressing space bar

Thanks for reporting. It's so weird that the interactions are different.

@siriwatknp
Copy link
Member Author

For some reason it does not fix it fully:

Fixed. added a new test to confirm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: Cell Selection Related to the cell selection feature feature: Editing Related to the data grid Editing feature plan: Premium Impact at least one Premium user. scope: data grid Changes related to the data grid. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[data grid] type spacebar in editing mode clear cell selection

4 participants