bug(material/card): The mat-progress-bar overflows when placed in the mat-card-footer
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne mit dem Dokumentationsbeispiel „Card with footer“ und der darin verlinkten StackBlitz-Reproduktion unter src/example/card-footer-example.html. Vergleiche mat-progress-bar und andere Footer-Inhalte mit den Kartengrenzen in Angular Material 17.3.1; abgeschlossen ist die Aufgabe, wenn der Ladebalken und eingefügte Inhalte innerhalb der Kartenränder bleiben und die Ecken einheitlich sind.
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
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100