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

[DataGridPro] Don't throw error in column pinning #9507

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Jun 28, 2023

Closes #9440

Prevent an error from being thrown if a callback is called after the row container is unmounted.

Before: https://codesandbox.io/s/muidgridpro-pinnedcolumn-lazyloadroute-error-forked-73t2c6
After: https://codesandbox.io/s/muidgridpro-pinnedcolumn-lazyloadroute-error-forked-ng3cv4

@romgrk romgrk added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Jun 28, 2023
@mui-bot
Copy link

mui-bot commented Jun 28, 2023

Netlify deploy preview

Netlify deploy preview: https://deploy-preview-9507--material-ui-x.netlify.app/

Updated pages

No updates.

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 531.5 964 790.8 765.18 174.72
Sort 100k rows ms 527.2 1,085.8 527.2 907.82 198.697
Select 100k rows ms 231 403.1 285.9 294.54 62.902
Deselect 100k rows ms 161.8 373.3 239.9 269.54 80.285

Generated by 🚫 dangerJS against b2f10bd

@cherniavskii cherniavskii added feature: Column pinning Related to the data grid Column pinning feature plan: Pro Impact at least one Pro user labels Jun 28, 2023
@cherniavskii cherniavskii changed the title [DataGrid] Don't throw error in column pinning [DataGridPro] Don't throw error in column pinning Jun 28, 2023
@romgrk romgrk merged commit d5fd310 into mui:master Jun 28, 2023
@romgrk romgrk deleted the fix-column-pinning-lazy-bug branch June 28, 2023 09:12
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! feature: Column pinning Related to the data grid Column pinning feature plan: Pro Impact at least one Pro user
Projects
None yet
3 participants