kamilkp / angular-vs-repeat

Virtual Scroll for AngularJS ngRepeat directive
http://kamilkp.github.io/angular-vs-repeat/
MIT License
818 stars 228 forks source link

iOS triggers scroll after scroll finishes completely #174

Closed vahidvdn closed 7 years ago

vahidvdn commented 7 years ago

It seems it renders the items when scroll completely finished in iOS.

I increased the size of buffer with vs-excess and height of the element. Now, when scrolling down, it almost work fine, but when going up again the elements don't get rendered untill scroll finishes.

Any idea?

vahidvdn commented 7 years ago

The problem is in ios app (ionic). In ios browser (Safari) the bounce of scroll is not too much, so it works fine in safari. But in the app, when you scroll, it takes about 3 or 4 seconds to scroll stops and update the view.

How can pre-render enough items to prevent this issue? It seems vs-excess doesn't work fine.

@kamilkp Any idea please?