Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

How to remove the top item in an ng-repeat without re-scroll [list optimization[

$
0
0

@moe_ahmed wrote:

Since using long lists in ng-repeat slows down the app, I would like to remove the top item (or top few items) but this causes the content to lose its place. I'd like to maintain the scroll position (keep the content at the same place on the screen) when removing the first element in a list in an ng-repeat. How could I do that? Is there a directive I could use? If so what element would it be included in?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>