Bug Report
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.1.2 (C:\Users\amezc\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.1.3, (and 14 other plugins)
System:
Android SDK Tools : 26.1.1 (C:\Users\amezc\AppData\Local\Android\Sdk)
NodeJS : v6.13.1 (C:\Program Files\nodejs\node.exe)
npm : 3.10.10
OS : Windows 10
Describe the Bug
I am getting 20 data per pagination but after 2 pages event is not working in function.
Steps to Reproduce
Related Code
<ion-header>
<ion-navbar>
<ion-title>listEstablishment</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<ion-list text-wrap>
<ion-item *ngFor="let listedStore of storeList"
>
<p>{{listedStore.action}}</p>
</ion-item>
</ion-list>
<ion-infinite-scroll (ionInfinite)="loadMore($event)" [enabled]="shouldEnableScrolling" >
<ion-infinite-scroll-content
loadingSpinner="bubbles" loadingText="Cargando Establecimientos..."
></ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>
Expected Behavior
Can load more than 2 pages with using ion-infinite-scroll
Additional Context
I’ve tried add it in a component or modal but same problem.
Is there any update with this? I’m having the same issue and none of the steps above seem to work?