-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
bug(mat-checkbox): Inconsistent disabled styles #23081
Comments
Is the Stackblitz link correct? It doesn't have any checkboxes. |
Apparently it wasn't. Might have forgot to save it. I've updated the original message with the correct url. |
The checkbox was using `secondary` text when it's disabled which is inconsistent and incorrect, because all other components use `disabled`. Fixes angular#23081.
The checkbox was using `secondary` text when it's disabled which is inconsistent and incorrect, because all other components use `disabled`. Fixes #23081.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The checkbox was using `secondary` text when it's disabled which is inconsistent and incorrect, because all other components use `disabled`. Fixes angular#23081.
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/components-issue-svwzok?file=src%2Fapp%2Fexample-component.html
Steps to reproduce:
Expected Behavior
The disabled styles of form controls should be consistent.
Actual Behavior
The disabled styles are inconsistent. The label of disabled checkboxes are rgba(0,0,0,.54) so as the frame if it's checked but the background colour is #b0b0b0. Radios use rgba(0,0,0,.38) both on the radio button and the label regardless whether they are checked or not. Disabled slide-toggles just have their opacity set as .38 resulting in yet another shade on the label.
Environment
The text was updated successfully, but these errors were encountered: