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] Fix print preview regression in Chrome browser #7405

Merged

Conversation

cherniavskii
Copy link
Member

@cherniavskii cherniavskii commented Jan 6, 2023

See #7240 (comment)
I've fixed it on the next branch and am now cherry-picking to the master branch.

I've added a check to only target specific versions of Chrome/Chromium to avoid regressions that may be caused by this fix in other browsers.

Before: https://deploy-preview-7399--material-ui-x.netlify.app/x/react-data-grid/export/
Screenshot 2023-01-06 at 12 14 36
After: https://deploy-preview-7405--material-ui-x.netlify.app/x/react-data-grid/export/#enabling-export
Screenshot 2023-01-06 at 12 39 15

@cherniavskii cherniavskii added component: data grid This is the name of the generic UI component, not the React module! v5.x feature: Export cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch labels Jan 6, 2023
@mui-bot
Copy link

mui-bot commented Jan 6, 2023

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 486.4 812.8 547.8 603.62 125.395
Sort 100k rows ms 535.7 1,007.4 704.1 798.54 165.48
Select 100k rows ms 195.9 227.8 204 209.2 12.263
Deselect 100k rows ms 120 290.9 142.1 169.44 61.813

Generated by 🚫 dangerJS against 5f5d70e

@cherniavskii cherniavskii marked this pull request as ready for review January 10, 2023 19:43
@m4theushw m4theushw removed their request for review January 31, 2023 12:16
Copy link
Member

@MBilalShafi MBilalShafi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on Chrome version 108 and above 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch component: data grid This is the name of the generic UI component, not the React module! feature: Export v5.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants