-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[LoadingButton] Fix HTML rule button > div forbidden nesting #38584
[LoadingButton] Fix HTML rule button > div forbidden nesting #38584
Conversation
Netlify deploy previewhttps://deploy-preview-38584--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
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.
LGTM 🙌🏼
Sorry for the delay, this got lost in my notifications
Is the letter spacing the bug from the second image? That value is correct. From Material You's guidelines, the way to calculate letter spacing is |
in the stable version.
A bit related to https://stackoverflow.com/questions/39692615/is-it-possible-to-have-letter-spacing-relative-to-the-font-size-and-inherit-prop |
The issue can be seen on https://validator.w3.org/nu/?doc=https%3A%2F%2Fmui.com%2Fmaterial-ui%2Freact-button%2F
While I don't know how useful validator.w3 is, I don't think Material UI component should create noise for developers.
Preview: https://deploy-preview-38584--material-ui.netlify.app/material-ui/react-button/.
I have checked if the bug could be reproduced on Joy UI at the same time, it can't, we use span correctly there.
This has been on my backlog for almost 2 years. I moved most of the items to Notion tasks, but this one seems so simple to fix that I'm going for it.
I saw two CSS bugs on this page with Material UI v6 https://mui.com/material-ui/react-button/#material-you-version:
And