ripples (mat-checkbox, mat-option, etc...) cause scrolling in dialog
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### 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?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il problema nell’esempio StackBlitz collegato, quindi esamina l’interazione tra mat-dialog-content e il ripple di mat-checkbox quando la casella di controllo è l’ultimo elemento. Il lavoro è completato quando una finestra di dialogo con spazio per espandersi non mostra più una barra di scorrimento quando è presente un mat-checkbox o un componente simile con ripple.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100