title: ion-infinite-scroll not firing ionInfinite event - Ionic 5
body: <p>I am trying to use infinite scroll with a simple code to test. The issue is <code>ion-infinite-scroll</code> no longer firing <code>ionInfinite</code> event.</p>
  
  <p>Below is my code and <code>ionic info</code> of my project.</p>
  
  <p><code>home.ts</code></p>
  
  <pre><code>listData=["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20"];
  fiveobjects = [];
  page = 0;
  maximumPages = 3;
  
  constructor(){}
  
    ngOnInit() {
  this.get_data_from_array(event);
  }
  
  ...
  
  async get_data_from_array(event){
   this.fiveobjects =  this.listData.slice(0, 10);
   console.log(this.fiveobjects);
  
   if(event){
     event.target.complete();
   }
  }
  
  loadMore(event){
    console.log(event);
  this.page++;
  this.get_data_from_array(event);
  
  if(this.page === this.maximumPages){
    event.target.disabled = true;
  }
  }
  
  }
  </code></pre>
  
  <p><code>home.html</code></p>
  
  <pre><code>&lt;ion-content&gt;
  &lt;ion-card&gt;
    &lt;ion-item *ngFor="let item of fiveobjects"&gt;
      &lt;ion-label&gt;{{item}}&lt;/ion-label&gt;   
    &lt;br&gt;
      &lt;ion-label&gt;..&lt;/ion-label&gt;
    &lt;/ion-item&gt;
  &lt;/ion-card&gt;
  
  &lt;ion-infinite-scroll threshold="100px" (ionInfinite)="loadMore($event)"&gt;
    &lt;ion-infinite-scroll-content loadingSpinner="bubbles" loadingText="Loading more data..."&gt;
    &lt;/ion-infinite-scroll-content&gt;
  &lt;/ion-infinite-scroll&gt;
  &lt;/ion-content&gt;
  </code></pre>
  
  <p><strong>Ionic info</strong></p>
  
  <p>Ionic:</p>
  
  <pre><code>   Ionic CLI                     : 5.4.13 (C:\Users\saurabh\AppData\Roaming\npm\node_modules\ionic)
     Ionic Framework               : @ionic/angular 5.0.5    
     @angular-devkit/build-angular : 0.803.25
     @angular-devkit/schematics    : 8.3.25
     @angular/cli                  : 8.3.25
     @ionic/angular-toolkit        : 2.2.0
  
  Utility:
  
     cordova-res : not installed
     native-run  : 0.3.0
  
  System:
  
     NodeJS : v12.14.0 (C:\Program Files\nodejs\node.exe)    
     npm    : 6.13.4
     OS     : Windows 10
  </code></pre>