You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By Default, the scroll position is preserved while transitioning routes. However, at times this isn't the desired behaviour.
We need to scroll to top for the following pages:
By Default, the scroll position is preserved while transitioning routes. However, at times this isn't the desired behaviour.
We need to scroll to top for the following pages:
How ?
Use ember-router-scroll plugin, and use the mixin at the mentioned routes.
Don't
window.scrollTop(0, 0)
in beforeModel or similar hook. This will not preserve scroll position when using browser's back button. #DontBreakTheWebThe text was updated successfully, but these errors were encountered: