bug(mat-card): mat-elevation-zx no longer working for mat-card after upgrade to version 15
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci il problema utilizzando un template contenente test con Angular e CDK/Material 15.0.0, quindi confronta il risultato con la versione 14; l’attività è completata quando le classi di utilità mat-elevation-zx modificano nuovamente in modo visibile l’elevazione della card.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100