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

Use RAF for animations #63

Merged
merged 2 commits into from
Sep 7, 2017
Merged

Use RAF for animations #63

merged 2 commits into from
Sep 7, 2017

Conversation

kybishop
Copy link
Collaborator

@kybishop kybishop commented Sep 7, 2017

This makes things buttery smooth by greatly improving performance. It also fixes, once and for all, strange positioning issues that spur from display: none being toggled on the same repaint that animations take place.

@kybishop
Copy link
Collaborator Author

kybishop commented Sep 7, 2017

Testing a component that uses requestAnimationFrame is not a good time o_O.

Will have to dig into why the 2.12 tests are failing.

@kybishop
Copy link
Collaborator Author

kybishop commented Sep 7, 2017

Merging this and fixing tests later. There's no reason this would break things in prior versions of ember, we're just hitting limitations of the test framework.

@kybishop kybishop merged commit e87f77b into master Sep 7, 2017
@kybishop kybishop deleted the use-RAF-for-animations branch September 7, 2017 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant