ripples (mat-checkbox, mat-option, etc...) cause scrolling in dialog
- 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 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?
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Problem im verlinkten StackBlitz-Beispiel zu reproduzieren, und untersuche anschließend das Zusammenspiel zwischen mat-dialog-content und dem Ripple von mat-checkbox, wenn die Checkbox das letzte Element ist. Erledigt ist die Aufgabe, wenn ein Dialog mit Platz zum Wachsen keinen Scrollbalken mehr erhält, sobald ein mat-checkbox oder eine ähnliche Komponente mit Ripple vorhanden ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100