Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
I have a Tool Bar with 3 icons, 2 mat-icon-button and one mat-button:
When Hovering, the background color is different and inconsistent.
mat-button hover has a hint of the theme color:
mat-icon-button only has some opacity with a state layer color that ignores the theme.
Why this inconsistency?
Reproduction
StackBlitz link: Could not make one
Steps to reproduce:
- Create a
- Inside create a mat-button and a mat-menu-item
- Icons are optional
Expected Behavior
I expect the same behaviour for both buttons.
Actual Behavior
They have different hover background colors.
Environment
- Angular: 18.1.0
- CDK/Material: 18.1.0
- Browser(s): MS Edge
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 11