Skip to content
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

[DataGrid] Don't start edit mode when pressing Shift + Space #6228

Merged
merged 1 commit into from
Oct 4, 2022

Conversation

m4theushw
Copy link
Member

@m4theushw m4theushw commented Sep 20, 2022

Preview: https://deploy-preview-6228--material-ui-x.netlify.app/x/react-data-grid/editing/

I noticed this bug while working in #6016 where a test from row selection started to fail when using the new editing API. If I click in a cell and press Shift + Space it starts the edit mode and also deselects the row. This doesn't happen in the legacy editing API: https://mui.com/x/react-data-grid/editing-legacy/#cell-editing

@m4theushw m4theushw added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Sep 20, 2022
@mui-bot
Copy link

mui-bot commented Sep 20, 2022

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 498.8 890.4 616.7 666.46 155.545
Sort 100k rows ms 592.2 1,133.8 782 839.42 177.269
Select 100k rows ms 157.7 209.5 183.9 185.64 17.967
Deselect 100k rows ms 186.8 218.7 205.8 203.38 10.868

Generated by 🚫 dangerJS against e17dabe

@m4theushw m4theushw merged commit 39909be into mui:next Oct 4, 2022
@m4theushw m4theushw deleted the shift-space-editing branch October 4, 2022 12:31
m4theushw added a commit to m4theushw/mui-x that referenced this pull request Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants