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

fix($animate): ensure class-based animations are always skipped before structural digests are run #5600

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented Jan 2, 2014

Closes #5582

@IgorMinar
Copy link
Contributor

"structural digests" ? did you mean "structural animations" ?

if(!ngAnimateState.running || !(isClassBased && ngAnimateState.structural)) {
var allowAnimations = isClassBased ?
!ngAnimateState.disabled && (!ngAnimateState.running || !ngAnimateState.structural) :
true;
Copy link
Contributor

Choose a reason for hiding this comment

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

why true? wouldn't this prevent us from being able to disable animations in e2e tests?

@IgorMinar
Copy link
Contributor

we discussed this via chat.

@matsko is this ready to be merged?

@matsko matsko closed this Jan 3, 2014
@matsko
Copy link
Contributor Author

matsko commented Jan 3, 2014

MERGED

@matsko
Copy link
Contributor Author

matsko commented Jan 3, 2014

Landed as bc492c0

@matsko matsko deleted the pr_5582 branch January 3, 2014 17:32
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.

ng-repeat and ng-class in the same element gets animation broken ver. >= 1.2.6
2 participants