Skip to content

MatExpansionPanel animates header height when first rendered #16067

Closed
@chemass

Description

@chemass

What is the expected behavior?

Given an expansion panel with a header <mat-expansion-panel-header collapsedHeight="10rem" expandedHeight="10rem"> it should be initially rendered at the specified height.

What is the current behavior?

The header is rendered at it's standard height, then animates to the specified height

What are the steps to reproduce?

StackBlitz

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular 7x, Material 7x

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions