Components: Make expansion panel height configurable

Created on 10 Jul 2017  路  4Comments  路  Source: angular/components

Bug, feature request, or proposal:

Proposal

What is the expected behavior?

Height of the md-expansion-panel-header should be configurable.

What is the current behavior?

Currently there is no way of doing it. I can only override it in css with important but then there is no animation.

What are the steps to reproduce?

Open material demo app and see expansion panel header.

What is the use-case or motivation for changing an existing behavior?

Custom header height.

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

All

#### Is there anything else we should know?
-

P3 has pr

Most helpful comment

Your first example is invalid @TqrHsn. You should use [expandedHeight]="'48px'" or expandedHeight="48px".

All 4 comments


gives:
snip_20171227005507


gives:
snip_20171227005610

unable to use this. Am I missing something?

Your first example is invalid @TqrHsn. You should use [expandedHeight]="'48px'" or expandedHeight="48px".

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings