[v4.6.0] bug: ionInfinite not emitted
See original GitHub issueBug Report
Ionic version: [x] 4.x
Current behavior:
The ionInfinite
event is never emitted when Ionic One is used. I observed this in a Stencil One PWA but others (see messages below) are reporting facing the same behavior in Angular apps.
<ion-infinite-scroll threshold="100px" id="infinite-scroll" onIonInfinite={($event) => console.log('Nothing happens')}>
<ion-infinite-scroll-content>
</ion-infinite-scroll-content>
</ion-infinite-scroll>
Steps to reproduce: I provide a super simple sample repo:
git clone https://github.com/peterpeterparker/infinite
cd infinite
npm install
npm run start
Try to scroll, ionInfinite
will not be emitted
Related code:
See repo https://github.com/peterpeterparker/infinite
Other information:
"@ionic/core": "^4.6.0",
"@stencil/core": "^1.1.2"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:11
- Comments:14 (3 by maintainers)
Top Results From Across the Web
[v4.6.0] bug: ionInfinite not emitted · Issue #18632 · ionic-team ...
Current behavior: The ionInfinite event is never emitted when Ionic One is used. I observed this in a Stencil One PWA but others...
Read more >InfiniteScroll _onScroll event not fired while scrolling - ionic-v3
I tried ion-infinite-scroll for my grid pagination. But it is not working as _onScroll event not being fired while scrolling.
Read more >ionic 4 - loading spinner not working in infinite scroll
I haven't checked your code but I am sure this occured because in Ionic4 there is a change in the kind of events...
Read more >ion-refresher causing fixed elements to scroll - You.com
ionic-team/ionic-frameworkbug: ion-infinite-scroll not emit after changing to another tab and back#21440. Created over 2 years ago. 6.
Read more >Dynamic templates in AngularJS - Christos S. – chsakell's Blog
More specifically we have directives for 4 azure services, ... renders the currently loaded threads and last but not least an ion-infinite-scroll element....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Same problem in an Angular app:
"@ionic/angular": "4.6.0"
ionInfinite event never emitted
Works fine with
"@ionic/angular": "4.5.0"
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.