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

fix(ngAnimate): use requestAnimationFrame to space out child animations #12669

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented Aug 25, 2015

This reverts the previous behaviour of using foreced reflows to deal
with preparation classes in favour of a system that uses
requestAnimationFrame (RAF).

Closes #12669
Closes #12594
Closes #12655
Closes #12631
Closes #12612
Closes #12187

matsko added a commit to matsko/angular.js that referenced this pull request Aug 25, 2015
This reverts the previous behaviour of using foreced reflows to deal
with preparation classes in favour of a system that uses
requestAnimationFrame (RAF).

Closes angular#12669
Closes angular#12594
Closes angular#12655
Closes angular#12631
Closes angular#12612
matsko added a commit to matsko/angular.js that referenced this pull request Aug 25, 2015
This reverts the previous behaviour of using foreced reflows to deal
with preparation classes in favour of a system that uses
requestAnimationFrame (RAF).

Closes angular#12669
Closes angular#12594
Closes angular#12655
Closes angular#12631
Closes angular#12612
Closes angular#12187
@Narretz
Copy link
Contributor

Narretz commented Aug 26, 2015

Does this mean we are going back to the system that was implemented before? Or is this a new approach?

@Narretz Narretz added this to the 1.4.5 milestone Aug 26, 2015
@matsko
Copy link
Contributor Author

matsko commented Aug 27, 2015

This is a new approach that uses a tree data structure to fix the parent class animation blocking.

expect(spies.c).toHaveBeenCalled();
expect(spies.z).toHaveBeenCalled();

function spy(c) {
Copy link
Contributor

Choose a reason for hiding this comment

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

what's the purpose of the param? :)

@IgorMinar
Copy link
Contributor

the rest looks good

matsko added a commit to matsko/angular.js that referenced this pull request Aug 27, 2015
This reverts the previous behaviour of using foreced reflows to deal
with preparation classes in favour of a system that uses
requestAnimationFrame (RAF).

Closes angular#12669
Closes angular#12594
Closes angular#12655
Closes angular#12631
Closes angular#12612
Closes angular#12187
This reverts the previous behaviour of using foreced reflows to deal
with preparation classes in favour of a system that uses
requestAnimationFrame (RAF).

Closes angular#12669
Closes angular#12594
Closes angular#12655
Closes angular#12631
Closes angular#12612
Closes angular#12187
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants