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

MUI style breaking in UI #1120

Closed
1 task done
nazcoder opened this issue Apr 24, 2024 · 1 comment
Closed
1 task done

MUI style breaking in UI #1120

nazcoder opened this issue Apr 24, 2024 · 1 comment

Comments

@nazcoder
Copy link

material-react-table version

2.13.0

react & react-dom versions

17.0.2

Describe the bug and the steps to reproduce it

I am running with react version 17.0.2.
The dependencies versions are:
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@material-ui/core": "^4.12.4",
"@material-ui/lab": "^4.0.0-alpha.61",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.15",
"@mui/x-date-pickers": "^7.2.0",

The style of filterModeOption, pagination style, table body style etc are breaking. I am not able to get it the causes behind it.
Anyone could you please help me to find out?

thanks

Minimal, Reproducible Example - (Optional, but Recommended)

dependencies version :
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@material-ui/core": "^4.12.4",
"@material-ui/lab": "^4.0.0-alpha.61",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.15",
"@mui/x-date-pickers": "^7.2.0",
"material-react-table": "^2.13.0",

        muiPaginationProps: {
  color: "secondary",
  rowsPerPageOptions: [5,10, 20, 30],
  shape: "rounded",
  variant: "outlined",
},

but shape is changing in the UI

Screenshots or Videos (Optional)

mrt1
mrt2

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
@KevinVandy
Copy link
Owner

Having both MUI v4 and MUI v5 installed at the same time is going to yield weird results. MUI does not recommend doing that at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants