-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/expansion
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Mat-expansion-panel, when animating in or out, will stay in current state of opened or closed and render as such.
What is the current behavior?
mat-expansion-panel, when animating out, will open and display all hidden panel content, while still showing the current state as closed.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-ykxmcr?file=src%2Fapp%2Fhero-list-multistep.component.ts
What is the use-case or motivation for changing an existing behavior?
Keeping the panel closed when animating out provides a much cleaner experience for the UI by preventing jumpiness and inconsistencies.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/core 6.0.4
@angular/material 6.2.1
@angular/cdk 6.2.1
Chrome 67.0.3396.79
Firefox 60.0.2
Safari 11.1
Is there anything else we should know?
This happens with all animations I have tested, not just the one provided in the stackblitz example.
Naikno, aeslinger0, kiwikern, dojchek, skand888 and 37 more
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/expansion