bug(mat-card): mat-elevation-zx no longer working for mat-card after upgrade to version 15
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### Is this a regression?
- [X] 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:
1. in a template, use `test`
2. 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
Beitragsleitfaden
Rechercherichtung
Reproduziere das Problem mit einer Vorlage, die test enthält, unter Verwendung von Angular und CDK/Material 15.0.0, und vergleiche anschließend das Ergebnis mit Version 14; abgeschlossen ist die Aufgabe, wenn die mat-elevation-zx-Hilfsklassen die Elevation der Karte wieder sichtbar verändern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100