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(ripple): unable to remove programmatically if animations is ongoing #3398

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Mar 2, 2017

This is something I ran into while working on #3102. For persistent ripples, the fadeOutAll method doesn't work if it is called before the enter animation is finished. The issue was that the set of active ripples doesn't get populated until the animation is done.

Relates to #3102.

This is something I ran into while working on angular#3102. For persistent ripples, the `fadeOutAll` method doesn't work if it is called before the enter animation is finished. The issue was that the set of active ripples doesn't get populated until the animation is done.

Relates to angular#3102.
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 2, 2017
@devversion
Copy link
Member

Chatting with @crisbeto about it - I intentionally didn't do that when refactoring the ripples, because now the ripples are fading-out immediately on mouseup.

@crisbeto
Copy link
Member Author

crisbeto commented Mar 2, 2017

Closing this as per discussion with @devversion who had some plans for this already.

@crisbeto crisbeto closed this Mar 2, 2017
devversion added a commit to devversion/material2 that referenced this pull request Mar 2, 2017
* When calling `fadeOutAll()`, all currently fading / animating ripples should hide as well.
* Adds some extra tests that ensure that ripples properly fade-in and fade-out (See angular#3398)
devversion added a commit to devversion/material2 that referenced this pull request Mar 2, 2017
* When calling `fadeOutAll()`, all currently fading / animating ripples should hide as well.
* Adds some extra tests that ensure that ripples properly fade-in and fade-out (See angular#3398)
@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 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants