Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($animate): ensure that animateable directives cancel expired leave animations #6380

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented Feb 21, 2014

If enter -> leave -> enter -> leave occurs then the first leave animation will
animate alongside the second. This causes the very first DOM node (the view in ngView
for example) to animate at the same time as the most recent DOM node which ends
up being an undesired effect. This fix takes care of this issue.

Closes #5886

@mary-poppins
Copy link

Good evening Matias. We meet again.

@matsko matsko added cla: yes and removed cla: no labels Feb 21, 2014
@matsko matsko added this to the 1.2.14 milestone Feb 21, 2014
…e animations

If enter -> leave -> enter -> leave occurs then the first leave animation will
animate alongside the second. This causes the very first DOM node (the view in ngView
for example) to animate at the same time as the most recent DOM node which ends
up being an undesired effect. This fix takes care of this issue.

Closes angular#5886
@matsko
Copy link
Contributor Author

matsko commented Feb 26, 2014

MERGED

@matsko
Copy link
Contributor Author

matsko commented Feb 26, 2014

Landed as e988199

@matsko matsko closed this Feb 26, 2014
@matsko matsko deleted the fix_leave branch February 26, 2014 19:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some Animations do not work after upgrading to 1.2.9
2 participants