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

Change timing of window.scrollTo #17

Closed
bcardarella opened this issue Aug 4, 2016 · 2 comments
Closed

Change timing of window.scrollTo #17

bcardarella opened this issue Aug 4, 2016 · 2 comments

Comments

@bcardarella
Copy link
Member

Currently window.scrollTo is fired in didTransition which itself is wrapped in an Ember.runloop call. And the transition is fired from within the runloop. The result is that there is a jitter when scrolling to a different position. The page renders and there is a noticeable jump. It is fast but noticeable.

I believe the scroll positioning should be done elsewhere. It would be great if we could hook into an afterRender callback. Not sure if one is fired for the entire page.

@joshkg
Copy link
Contributor

joshkg commented May 5, 2018

@bcardarella Should we consider this issue closed after #101?

@bcardarella
Copy link
Member Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants