mat-radio-button and mat-checkbox don't line wrap
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
#### Bug, feature request, or proposal:
Proposal: change `` or `` to line-wrap its contents by default or add an option.
#### What is the expected behavior?
I can put a text into a `` or `` that is longer than what fits into the viewport.
#### What is the current behavior?
The content in a or does not line wrap. If you have a lot of text in a it gets cut at the end.
A workaround would be
`{{mylongtext}}`
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-uaeetd?file=app/app.component.html
#### What is the use-case or motivation for changing an existing behavior?
I have a pretty narrow window and need to put checkboxes and radio buttons in there.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I think all of them.
#### Is there anything else we should know?
Beitragsleitfaden
Rechercherichtung
Beginnen Sie mit der verlinkten StackBlitz-Reproduktion, insbesondere mit app/app.component.html, und überprüfen Sie das fehlende Umbrechen langer Inhalte von mat-radio-button und mat-checkbox in einem schmalen Viewport. Als abgeschlossen gilt die Aufgabe, wenn der Inhalt standardmäßig oder über eine dokumentierte Option umgebrochen wird und dabei das bestehende Verhalten der Komponenten erhalten bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100