angular / angular/components

bug(material/card): The mat-progress-bar overflows when placed in the mat-card-footer

Ouverte
#28,785 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
area: material/card area: material/progress-bar P3
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

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

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par l’exemple de documentation « Card with footer » et sa reproduction StackBlitz liée dans src/example/card-footer-example.html. Comparez mat-progress-bar et les autres contenus du footer aux limites de la carte dans Angular Material 17.3.1 ; le travail est terminé lorsque la barre de chargement et le contenu inséré restent à l’intérieur des bordures de la carte et que les coins sont cohérents.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.