-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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] Round dimensions to avoid subpixel rendering error #15850
Conversation
Deploy preview: https://deploy-preview-15850--material-ui-x.netlify.app/ |
packages/x-data-grid/src/hooks/features/dimensions/useGridDimensions.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be great to add a test case for this one 👍
I think the failing argos test is flaky, looks fine here https://codesandbox.io/p/sandbox/15850-loader-regression-test-cxv2kg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cherry-pick PRs will be created targeting branches: v7.x |
Fixes #15721
Before: https://codesandbox.io/p/sandbox/15850-after-forked-7yfwdz
After: https://codesandbox.io/p/sandbox/15850-after-pxr26t