We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, thanks for the great addon!
With FastBoot, the user is able to scroll down the static HTML version of the app.
When the app rehydrates, ember-router-scroll resets scrolling, producing jerky behavior.
ember-router-scroll
The text was updated successfully, but these errors were encountered:
I've found the isFirstLoad property. It is read here, but it does not set up to prevent scrolling:
isFirstLoad
ember-router-scroll/addon/index.js
Lines 146 to 148 in d6cc035
Sorry, something went wrong.
This ugly hack resolves the issue for me:
this.routerScroll.set('preserveScrollPosition', true); later(this, function () { this.routerScroll.set('preserveScrollPosition', false); }, 1000);
...in application route's beforeModel hook.
application
beforeModel
@lolmaus 👍 Do you see an improvement that could be added here? Thx for the issue btw!
No branches or pull requests
Hi, thanks for the great addon!
With FastBoot, the user is able to scroll down the static HTML version of the app.
When the app rehydrates,
ember-router-scroll
resets scrolling, producing jerky behavior.The text was updated successfully, but these errors were encountered: