Long expansion panel descriptions overflow the panel.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Bug, feature request, or proposal:
If you have a longer than normal expansion panel description it overflows over the expansion panel and pushes the label out of place.
#### What is the expected behavior?
The description should truncate and add an ellipses, or some other way to gracefully hand this situation.

#### What is the current behavior?
If a description is long it will push the title out of place and overflow.

#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-fcxlsc?file=app/expansion-overview-example.html
#### What is the use-case or motivation for changing an existing behavior?
It looks pretty bad if a long description is used.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Tested on Angular Material 5.2.4 using chrome 65.0.3325.181 and firefox 59.0.2.
#### Is there anything else we should know?
Nothing.
Beitragsleitfaden
Rechercherichtung
Beginne mit der verlinkten StackBlitz-Reproduktion, insbesondere mit app/expansion-overview-example.html, unter Verwendung einer langen Beschreibung des expansion-panel. Suche anschließend die Implementierung des Angular Material expansion-panel und überprüfe, dass die Beschreibung nicht mehr überläuft oder den Titel verdrängt, wobei das fertige Verhalten durch eine saubere Kürzung oder eine andere eindeutige Behandlung erreicht wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100