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

mat-expansion-panel's content hides immediately, outrunning the panel's animation #14075

Open
jimmyzzxhlh opened this issue Nov 10, 2018 · 0 comments
Labels
animation This issue is related to Angular animations or CSS animations area: material/expansion G This is is related to a Google internal issue P4 A relatively minor issue that is not relevant to core functions

Comments

@jimmyzzxhlh
Copy link

Bug, feature request, or proposal:

Bug
This is basically another version of issue 10134.

What is the expected behavior?

When hiding the expansion panel using animations, the header and the content of the expansion panel should both respect the animations.

What is the current behavior?

Only the header respects the animation, the body doesn't.
Notice that showing expansion panel using animation does work correctly.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-hmgomu

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

This is a bug found when we try to define some fade-in/fade-out animation for the expansion panel.

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

Angular Material 5.2.6

Is there anything else we should know?

N/A.

@josephperrott josephperrott added the G This is is related to a Google internal issue label Nov 26, 2018
@mmalerba mmalerba added the needs triage This issue needs to be triaged by the team label May 20, 2020
@josephperrott josephperrott added animation This issue is related to Angular animations or CSS animations area: material/expansion P4 A relatively minor issue that is not relevant to core functions and removed needs triage This issue needs to be triaged by the team labels May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
animation This issue is related to Angular animations or CSS animations area: material/expansion G This is is related to a Google internal issue P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

3 participants