-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(expansion-panel): expand animation jumping #8779
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
fix(expansion-panel): expand animation jumping #8779
Conversation
[@bodyExpansion]="_getExpandedState()" | ||
(@bodyExpansion.done)="_bodyAnimation($event)" | ||
(@bodyExpansion.start)="_bodyAnimation($event)" | ||
[id]="id" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we binding the id
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was there before my changes so I'm not sure. I think it's for a11y, because it allows us to reference it in something like aria-owns
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're right. I think it is for aria-owns
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@crisbeto please rebase |
574b2d1
to
5005971
Compare
Rebased. |
5005971
to
7d00678
Compare
Fixes the expansion panel jumping towards the end of the animation due to the overflow going from `visible` to `hidden`.
7d00678
to
c140638
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes the expansion panel jumping towards the end of the animation due to the overflow going from
visible
tohidden
.Here's what it looks like now for reference:
