-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Closed
Copy link
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 urgentanimationThis issue is related to Angular animations or CSS animationsThis issue is related to Angular animations or CSS animationsarea: material/expansion
Description
What is the expected behavior?
The height to be rendered directly with the set values and not 'jump' to the new value from the 'default hard coded' ones
What is the current behavior?
The mat-expansion-panel-header height will jump to the newly set value (even when using the new MAT_EXPANSION_PANEL_DEFAULT_OPTIONS injection token) resulting in ugly visuals. This is very evident when switching between tabs for example
What are the steps to reproduce?
https://stackblitz.com/edit/angular-e2of2s
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 7.2.0
Material: 7.2.1
Browser: Chrome or Mozilla@latests
Is there anything else we should know?
In the StackBlitz example if you change the 'collapsedHeight' and 'expandedHeight' to the default value of '48px' they will not 'jump' anymore
filipjuza, sergioalen, Stexxen, DarekDarecki, cchangenot and 2 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 urgentanimationThis issue is related to Angular animations or CSS animationsThis issue is related to Angular animations or CSS animationsarea: material/expansion