bug(mat-card): mat-elevation-zx no longer working for mat-card after upgrade to version 15
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### 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
Guía de contribución
Línea de trabajo
Reproduce el problema usando una plantilla que contenga test con Angular y CDK/Material 15.0.0, y después compara el resultado con la versión 14; se considera terminado cuando las clases auxiliares mat-elevation-zx vuelvan a modificar visiblemente la elevación de la tarjeta.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100