Update the items when using virtualScroll

I was wondering if this issue has ever been resolved or if there is a work-around?
I read a lot about it but with no proper resolution.
I am using ion-list with virtualScroll, it works fine if I don’t update the data source (the array).
If I update the array used to populate the list, the page just becomes blank, and it only shows the items if I scroll up.
I tried to use virtualTrackBy, but It didn’t work, as the function being tracked never gets called.

I am trying to use ion-infinite-scroll to load more data when scroll to the bottom.
Any help is appreciated.

1 Like