Skip to content

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

Merged
merged 1 commit into from
Jan 30, 2018

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Dec 2, 2017

Fixes the expansion panel jumping towards the end of the animation due to the overflow going from visible to hidden.

Here's what it looks like now for reference:
a

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 2, 2017
[@bodyExpansion]="_getExpandedState()"
(@bodyExpansion.done)="_bodyAnimation($event)"
(@bodyExpansion.start)="_bodyAnimation($event)"
[id]="id"
Copy link
Member

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?

Copy link
Member Author

@crisbeto crisbeto Dec 5, 2017

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.

Copy link
Member

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

Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@josephperrott josephperrott added pr: lgtm action: merge The PR is ready for merge by the caretaker and removed pr: needs review labels Dec 5, 2017
@crisbeto crisbeto added target: minor This PR is targeted for the next minor release target: patch This PR is targeted for the next patch release and removed target: minor This PR is targeted for the next minor release labels Dec 6, 2017
@andrewseguin andrewseguin added the presubmit failures This PR has failures in Google's internal presubmit process and cannot be immediately merged label Dec 13, 2017
@josephperrott josephperrott added pr: needs rebase and removed action: merge The PR is ready for merge by the caretaker labels Dec 18, 2017
@josephperrott
Copy link
Member

@crisbeto please rebase

@crisbeto crisbeto force-pushed the expansion-panel-animation-jump branch from 574b2d1 to 5005971 Compare December 18, 2017 18:19
@crisbeto crisbeto added action: merge The PR is ready for merge by the caretaker and removed pr: needs rebase labels Dec 18, 2017
@crisbeto
Copy link
Member Author

Rebased.

@crisbeto crisbeto force-pushed the expansion-panel-animation-jump branch from 5005971 to 7d00678 Compare January 14, 2018 16:39
Fixes the expansion panel jumping towards the end of the animation due to the overflow going from `visible` to `hidden`.
@crisbeto crisbeto force-pushed the expansion-panel-animation-jump branch from 7d00678 to c140638 Compare January 26, 2018 19:26
@tinayuangao tinayuangao merged commit 37575c9 into angular:master Jan 30, 2018
@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 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement presubmit failures This PR has failures in Google's internal presubmit process and cannot be immediately merged target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants