Skip to content

[table cell][theme] Fix translucent border with nativeColor (@lazerg) - #49958

Merged
LukasTy merged 1 commit into
mui:v7.xfrom
LukasTy:claude/cherry-pick-49638-v7-56304a
Dec 1, 2026
Merged

LukasTy merged 1 commit into
mui:v7.xfrom
LukasTy:claude/cherry-pick-49638-v7-56304a

Conversation

@LukasTy

@LukasTy LukasTy commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Cherry-pick of #49638

Found this bug in the review of mui/mui-x#24215. MUI X Data Grid v8 supports Material UI v5 to v7 and uses theme.vars.palette.TableCell.border for its borders. With cssVariables.nativeColor on Material UI 7.3.11, the borders of the Table and of the Data Grid are almost invisible. Material UI 9.6.0 has the fix, but v7.x does not.

image

Generated with Claude Code

(cherry picked from commit 1bcf7e0)

Co-authored-by: Zeeshan Tamboli <zeeshan.tamboli@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasTy LukasTy added type: bug It doesn't behave as expected. scope: table Changes related to the table. customization: theme Higher level theming customizability. cherry-pick The PR was cherry-picked from the newer alpha/beta/stable branch. labels Dec 1, 2026
@mui-bot

mui-bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Netlify deploy preview

https://deploy-preview-49958--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 🔺+54B(+0.01%) 🔺+13B(+0.01%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 4f727e2

@ZeeshanTamboli ZeeshanTamboli left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Will we release a new version of v7 for this?

@LukasTy

LukasTy commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

Will we release a new version of v7 for this?

I think we should do that; it's been a while, and there is a handful of fixes that have been merged to the branch and are not released. 🤔

@LukasTy
LukasTy merged commit 29b9428 into mui:v7.x Dec 1, 2026
23 checks passed
@LukasTy
LukasTy deleted the claude/cherry-pick-49638-v7-56304a branch December 1, 2026 08:31
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. customization: theme Higher level theming customizability. scope: table Changes related to the table. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants