javascript - Angular JS retain scroll position after reload -
I have an ul & gt; Li list of items with a reload button at the top. If I suppress the reload button, async is added to item data model. Each time an item is added to the model, it appears in the view, and the browser scroll is at the top. This is a Cordoba app (HTML5). I can definitely remember the scrolling position and scroll back, but it can be seen and IOO is just a hack.
How can I ensure that the status of the scroll remains in one place?
- You can click on the reload button
-
I think the problem is:
-
I suggest a solution, track it by $ track $$ < Try using / code>. Angular ng-in repeat
-
Comments
Post a Comment