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

IonInfiniteScroll problem if datasource reloaded

$
0
0

@icatanzaro wrote:

Hi, the IonInfiniteScroll fail when the datasource is reloaded.

It saves his position and making the component unusable.

We have two Pages:

  1. Page A (a list of items loaded with infinitescrolling)
  2. Page B (a detail page of list item)

I was in page A and next, click to item and go to page B for details. When i return back to page A i need to “refresh” the datasource of the ngFor. When the datasource is refreshed, the infinite scroller doesn’t work anymore.

The offsetHeight variable appears to retain the value obtained before the refresh.

Can you help me?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles