-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/card
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
14
Description
I have some mat-cards with specific elevations set, like for example: class=mat-elevation-z4
After the upgrade from 14 to 15, the cards are no longer affected by any mat-elevation classes I add.
Reproduction
Steps to reproduce:
- in a template, use
<mat-card class="mat-elevation-z8">test</mat-card>
- notice that the elevation helper class has no effect on the mat-card's elevation
Expected Behavior
Expecting the mat-elevation-z_x_ classes to modify the mat-card's elevation.
Actual Behavior
elevation is not affected by adding, for example, class="mat-elevation-z8"
Environment
- Angular: 15.0.0
- CDK/Material: 15.0.0
- Browser(s): Edge/Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
lo78cn, jkyoutsey, MurhafSousli, ducktordanny, motabass and 17 more
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/card