ripples (mat-checkbox, mat-option, etc...) cause scrolling in dialog
- 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:
If a mat-checkbox is the last element in a mat-dialog-content it will cause the dialog to to have a scrollbar, even if the content has not reached it's max height.
#### What is the expected behavior?
There should be no scrolling if the dialog has room to grow.
#### What is the current behavior?
The dialog scrolls when a mat-checkbox is present.
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-dhosn1
Click the button, notice the dialog.
#### What is the use-case or motivation for changing an existing behavior?
It looks bad.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Whatever is used by stackblitz
#### Is there anything else we should know?
Guía de contribución
Línea de trabajo
Comienza reproduciendo el problema en el ejemplo enlazado de StackBlitz y, después, inspecciona la interacción entre mat-dialog-content y el ripple de mat-checkbox cuando la casilla de verificación es el último elemento. La tarea estará terminada cuando un diálogo con espacio para crecer ya no obtenga una barra de desplazamiento al incluir un mat-checkbox o un componente similar con ripple.
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
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100