Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make expansion panel height configurable #8289

Closed
charlie-elverson opened this issue Nov 8, 2017 · 3 comments
Closed

make expansion panel height configurable #8289

charlie-elverson opened this issue Nov 8, 2017 · 3 comments

Comments

@charlie-elverson
Copy link

Bug, feature request, or proposal:

Proposal

What is the expected behavior?

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

What is the current behavior?

Repeating issue 5641, which was closed with a PR that didn't address the issue. PR 6643 addressed expansion-panel-header but not expansion-panel height

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.

Plunker starter (using on @master): https://goo.gl/uDmqyY

StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV

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

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

Is there anything else we should know?

@julianobrasil
Copy link
Contributor

julianobrasil commented Nov 8, 2017

I don't know whether I get your proposal right, but couldn't you simply wrap the expansion's content in a <div> and control the height of the <div>? I believe the panel will correctly follow the height of this wrapping <div>. Then you can enable scrollbars or anything else you want by styling this <div>.

@charlie-elverson
Copy link
Author

Good point. I just went back and reread the original issue. I misread it to begin with and thought it pertained to the panel itself, not the header. My bad.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants