-
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
mat-button-toggle styling issues #14721
Comments
…yling applied incorrectly * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
Does anybody know a temporary fix? :) |
…yling applied incorrectly * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
…yling applied incorrectly * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
…yling applied incorrectly * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
A bit ugly hack, but works
|
I find mat-button-toggle the worst component of Angular Material. |
It is as if they literally wanted to make it horrible. |
…ntrast styling applied incorrectly * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
…ntrast styling applied incorrectly * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
For bug 1: .mat-button-toggle {
button {
color: mat-color($color-primary);
}
}
.mat-button-toggle-checked {
background-color: mat-color($color-primary);
button {
color: #fff;
}
} |
…ntrast styling applied incorrectly (#14722) * Fixes not being able to override the elevation of a button toggle. Similar to #7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes #14721. (cherry picked from commit b703cb3)
…ntrast styling applied incorrectly (#14722) * Fixes not being able to override the elevation of a button toggle. Similar to #7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes #14721.
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. |
…ntrast styling applied incorrectly (angular#14722) * Fixes not being able to override the elevation of a button toggle. Similar to angular#7909, but makes avoids issues with the new appearance. * Fixes some of the styles that are only intended to be applied in high contrast mode being active all the time. Seems like an issue while rebasing. Fixes angular#14721.
Bug 1:
Issue
Applying custom style for checked button toggle gives an odd hover effect.
eg.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-ivjb9g
Bug 2:
Issue
In legacy style, button elevation cannot be modified.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-ivjb9g-tdqden
The text was updated successfully, but these errors were encountered: