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] Round dimensions to avoid subpixel rendering error #15850

Merged
merged 6 commits into from
Dec 13, 2024

Conversation

KenanYusuf
Copy link
Member

@KenanYusuf KenanYusuf commented Dec 11, 2024

@KenanYusuf KenanYusuf added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Dec 11, 2024
@mui-bot
Copy link

mui-bot commented Dec 11, 2024

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

Generated by 🚫 dangerJS against 5db24a7

@KenanYusuf KenanYusuf requested a review from a team December 11, 2024 15:20
@KenanYusuf KenanYusuf added needs cherry-pick The PR should be cherry-picked to master after merge v7.x labels Dec 11, 2024
@cherniavskii cherniavskii added regression A bug, but worse and removed bug 🐛 Something doesn't work labels Dec 11, 2024
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.

Would be great to add a test case for this one 👍

@KenanYusuf
Copy link
Member Author

Copy link
Contributor

@romgrk romgrk left a comment

Choose a reason for hiding this comment

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

I think one decimal place might be preferable, in some cases a subpixel value can make an actual rendering difference.

Screenshot From 2024-12-12 10-00-01

@KenanYusuf KenanYusuf merged commit 9720766 into mui:master Dec 13, 2024
18 checks passed
Copy link

Cherry-pick PRs will be created targeting branches: v7.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! needs cherry-pick The PR should be cherry-picked to master after merge regression A bug, but worse v7.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[data grid] Maximum update depth exceeded - MUI Datagrid when renderCell is in columns
5 participants