-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
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
[Fab] button disabled class (classes.disabled) is not working. #34227
Comments
Probably, fab button needs to have the classes forwarded to buttonbase, just like button - https://github.com/mui/material-ui/blob/master/packages/mui-material/src/Button/Button.js#L36 ? |
It doesn't look like this bug report has enough info for one of us to reproduce it. Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve |
Duplicates
Latest version
Current behavior 😯
css for classes.disabled is not honored when the Fab button is disabled
Expected behavior 🤔
css for classes.disabled is honored when the Fab button is disabled
Steps to reproduce 🕹
Steps:
< Fab disabled classes={{ disabled: "my-disabled" }}>A Fab button</Button>
is not picking up the "my-disabled" styles when the Fab button is disabled
Context 🔦
I am trying add a style for disabled fab button
Your environment 🌎
The text was updated successfully, but these errors were encountered: