bug(material/card): The mat-progress-bar overflows when placed in the mat-card-footer
- 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?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
16
### Description
In the documentation example "Card with footer" (loading bar) the loader is out of bounds.
https://material.angular.io/components/card/examples#card-footer
### Reproduction
StackBlitz link: https://stackblitz.com/edit/pm8knt-rswhv3?file=src%2Fexample%2Fcard-footer-example.html
### Expected Behavior
Content should not extend beyond the borders of the card
### Actual Behavior
when using elements such as picture, progress-bar the corners of the borders are different from the inserted content.
### Environment
- Angular: 17.3.1
- CDK/Material: 17.3.1
- Browser(s): Chrome 123.0.6312.59 (Official Build) (arm64)
- Operating System (e.g. Windows, macOS, Ubuntu): macOS Sonoma 14.4
Guía de contribución
Línea de trabajo
Comienza con el ejemplo de documentación „Card with footer“ y su reproducción enlazada en StackBlitz en src/example/card-footer-example.html. Compara mat-progress-bar y el resto del contenido del footer con los límites de la tarjeta en Angular Material 17.3.1; se considera terminado cuando la barra de carga y el contenido insertado permanecen dentro de los bordes de la tarjeta y las esquinas son uniformes.
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
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100