Scroll postion memory


#1

In a list of posts, if you scroll down a bit and select a post, that post page will load as far down the page as you were on the previous page… meaning you have to scroll back to the top to start reading the post. Is there an easy fix for this?


#2

Hey Tyler!

Checkout $ionicScrollDelegate, it should be what you need. This question has been asked before here, so let us know how it goes for you and be sure look at other forum posts such as

or

:shipit:


#3

That’s all I needed! Works perfectly. There were some odd issues though that seems like there should be presets for. If I’m on a long post… near the bottom… and then I open up the menu and go to a “shorter” page… the scroll was starting way down in invisible infinity wherever the previous post was… seems like it should trim that at the very least to the bottom of the next page.