-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[DataGrid] Fix styling virtualized column headers #18603
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 styling virtualized column headers #18603
Conversation
Deploy preview: https://deploy-preview-18603--material-ui-x.netlify.app/ Bundle size reportTotal Size Change: ▼-688B(-0.01%) - Total Gzip Change: ▼-180B(0.00%) Show details for 100 more bundles (22 more not shown)@mui/x-data-grid-premium parsed: ▼-116B(-0.02%) gzip: ▼-20B(-0.01%) |
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.
Do you know why there are still white gaps when scrolling to the right?
Screen.Recording.2025-06-30.at.14.12.57.mov
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.
Ah, it was missing the background color on the filler cell, good spot. Updated the demo.
Fixes #18066
Before: https://codesandbox.io/p/devbox/data-grid-base-forked-qrp42k?workspaceId=ws_GSyKqZMEdPCJM8JwxJ5NKj
After: https://codesandbox.io/p/sandbox/18603-ck9vkm