Open
Description
Reproduction
Steps to reproduce:
- create a simple mat-expansion-panel like this
<mat-expansion-panel [@.disabled]="true">
- Click on the header. You'll see an animation while the body is expanded.
Demo: see https://stackblitz.com/edit/mat-expansion-panel-10?file=src/app/expansion-overview-example.html (Angular 10)
Expected Behavior
Expand-Animation should be disabled. This worked in Angular 6 to 9.
Demo: see https://stackblitz.com/edit/mat-expansion-panel-9?file=src/app/expansion-overview-example.html (Angular 9)
Actual Behavior
Animation occurs when expanding.
Environment
- Angular: 10.2.4
- CDK/Material: 10
- Browser(s): Chrome 85
- Operating System (e.g. Windows, macOS, Ubuntu): Windows