Open
Description
Reproduction
Steps to reproduce:
put a mat-slide-toggle in a mat-dialog-content
https://stackblitz.com/edit/angular-pt8j22?file=src/app/dialog-content-example-dialog.html
EDIT: same goes for checkboxes
Expected Behavior
there should not be a scroll bar when having a mat-slide-toggle in a mat-dialog-content if the content does not exceed the max height allowed
Actual Behavior
mat-dialog-content always has a scroll bar when there is a mat-slide-toggle inside it
Environment
- Angular: 10
- CDK/Material: 10
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows