-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
Latest 5.10.7 Causes duplicate classes in snapshots #34502
Comments
@httpete can you share the component that was rendered in the test in a Sandbox? |
It's a Mui/InputLabel |
Can't see it duplicated in this sandbox - https://codesandbox.io/s/inspiring-rumple-gt7jxf?file=/src/App.tsx please share the code that generated this output. |
I think that sandbox uses 5.0.0 of @mui/material. If I pick 5.10.7, I can reproduce it: |
Just want to stress that it works fine in 5.10.6. |
This is still a problem as of v5.12.0, and is still demonstrated in the MUI demos. Any updates? |
As lpolito said, issue reproducible in demo files, below is from Human readable version of the issue...
Issue visible in our own project with "@mui/material": "5.12.1" Issue slows up in both dev and production builds of project. |
Hi, is this issue being worked on? Is there something we can do to help with the progress? |
It's still an issue in @mui@5.14.7 |
This is still an issue with the latest MUI library versions and it affects production builds. Screen caps below taken, with our project using the following library versions: Please address this issue so HTML isn't bloated with a duplicate set of class names. |
@mnajdova I was wondering if this was on anyone's radar? |
So this is still definitely an issue. 😞 For me, any custom classes added via "classes" prop also seem to be duplicated in most cases (I use some tailwindCSS overrides). |
Duplicates
Latest version
Steps to reproduce 🕹
Steps:
Current behavior 😯
The text was updated successfully, but these errors were encountered: