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

Ionic infinite scroll threshold issue

$
0
0

@HinderiksR wrote:

Hi,

I’m using the ionic infinite scroll plugin and want it to trigger a bit before what it does on default. I saw you could pass the threshold property and either give it pixels or percentages (15% being default).

However even ramping it up to 90% still waits till the very last moment to start loading (seen by console.log in the doInfinite(infiniteScroll) function.

Here is the html:

    <ion-infinite-scroll threshold="90%" (ionInfinite)="doInfinite($event)">
      <ion-infinite-scroll-content
        loadingSpinner="bubbles"
        loadingText="Loading more data...">
      </ion-infinite-scroll-content>
    </ion-infinite-scroll>

Any ideas ?

With best regards,
Robin

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71016

Trending Articles



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