Closed
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