mat-radio-button and mat-checkbox don't line wrap
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### 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?
Guía de contribución
Línea de trabajo
Comienza con la reproducción enlazada de StackBlitz, específicamente con app/app.component.html, y verifica la falta de ajuste de línea para contenido largo de mat-radio-button y mat-checkbox en un viewport estrecho. Se considera completado cuando el contenido se ajusta de forma predeterminada o mediante una opción documentada, conservando el comportamiento existente de los componentes.
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
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100