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

fix(dialog,bottom-sheet): enter animation blocking child animations #13888

Merged
merged 1 commit into from
Nov 3, 2018

Conversation

crisbeto
Copy link
Member

Currently the enter animations for the Material dialog, CDK dialog and bottom sheet are set up to be blocking, which means that any components with an initial animation inside them will be blocked until they're done. These changes allow for the child animations to run in parallel.

Fixes #13870.

Currently the enter animations for the Material dialog, CDK dialog and bottom sheet are set up to be blocking, which means that any components with an initial animation inside them will be blocked until they're done. These changes allow for the child animations to run in parallel.

Fixes angular#13870.
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Oct 30, 2018
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 30, 2018
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 labels Oct 31, 2018
@jelbourn jelbourn merged commit 235add9 into angular:master Nov 3, 2018
atscott pushed a commit to atscott/components that referenced this pull request Nov 5, 2018
…ngular#13888)

Currently the enter animations for the Material dialog, CDK dialog and bottom sheet are set up to be blocking, which means that any components with an initial animation inside them will be blocked until they're done. These changes allow for the child animations to run in parallel.

Fixes angular#13870.
jelbourn pushed a commit that referenced this pull request Nov 6, 2018
…13888)

Currently the enter animations for the Material dialog, CDK dialog and bottom sheet are set up to be blocking, which means that any components with an initial animation inside them will be blocked until they're done. These changes allow for the child animations to run in parallel.

Fixes #13870.
jelbourn added a commit to jelbourn/components that referenced this pull request Nov 7, 2018
angular#13674)" (angular#14015)"

This reverts commit 11c96d6.

Turns out the original change wasn't actually the problem. It was angular#13888
instead.
jelbourn added a commit to jelbourn/components that referenced this pull request Nov 7, 2018
…ations (angular#13888)"

This reverts commit 235add9.

This change broke an app inside of Google where tabs appear inside of a
dialog. The tabs get stuck in a weird frozen animation state.
vivian-hu-zz pushed a commit that referenced this pull request Nov 7, 2018
#13674)" (#14015)" (#14016)

This reverts commit 11c96d6.

Turns out the original change wasn't actually the problem. It was #13888
instead.
vivian-hu-zz pushed a commit that referenced this pull request Nov 7, 2018
…ations (#13888)" (#14017)

This reverts commit 235add9.

This change broke an app inside of Google where tabs appear inside of a
dialog. The tabs get stuck in a weird frozen animation state.
vivian-hu-zz pushed a commit that referenced this pull request Nov 12, 2018
#13674)" (#14015)" (#14016)

This reverts commit 11c96d6.

Turns out the original change wasn't actually the problem. It was #13888
instead.
vivian-hu-zz pushed a commit that referenced this pull request Nov 12, 2018
…ations (#13888)" (#14017)

This reverts commit 235add9.

This change broke an app inside of Google where tabs appear inside of a
dialog. The tabs get stuck in a weird frozen animation state.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Nov 13, 2018
…ement

This is an alternate approach to angular#13888 which had to be reverted due to some presubmit issues. These changes address the problem by providing some default styles that will be applied if the expansion panel is inside an animating element.
virtuoushub pushed a commit to virtuoushub/material2 that referenced this pull request Nov 26, 2018
…ement

This is an alternate approach to angular#13888 which had to be reverted due to some presubmit issues. These changes address the problem by providing some default styles that will be applied if the expansion panel is inside an animating element.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jun 2, 2019
…ement

This is an alternate approach to angular#13888 which had to be reverted due to some presubmit issues. These changes address the problem by providing some default styles that will be applied if the expansion panel is inside an animating element.
crisbeto added a commit to crisbeto/material2 that referenced this pull request Jul 13, 2019
…ement

This is an alternate approach to angular#13888 which had to be reverted due to some presubmit issues. These changes address the problem by providing some default styles that will be applied if the expansion panel is inside an animating element.
@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 10, 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 target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expansion panel FOUC when contained in dialog
4 participants