@Rasioc wrote:
Hi,
is there a way to reset ion-infinite-scroll?
I'm using a collection-repeat list and have ion-infinite-scroll below it.<ion-infinite-scroll ng-if="hasMore" on-infinite="loadMore()" distance="451px" > </ion-infinite-scroll>
My problem:
I have a checkbox above the list, which shall filter the list (or better: clear the list and start reloading with some filter option)So when the checkbox is clicked, I'm emptying the list array and set hasMore to true again. However, infinite-scroll is not triggered.
If I do not empty the list, but add some dummy objects (enough that it exceeds the page by a few px) infinite-scroll is triggered correctly, but this is not a solution.
Any idea how to force infinite-scroll to work again?
Thanks!
Posts: 1
Participants: 1