Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
Current behavior:
Quickly scrolling to the bottom does not trigger ionInfinite event.
Expected behavior:
Scrolling to the bottom should trigger the ionInfinite event.
Steps to reproduce:
I am able to reproduce the issue on an Android device as well but it's much easier on the PC Web View.
On PC Web View:
ion-infinite-scrollspacebar once and make sure the view is scrolled to the bottom. ionInfinite event is not triggered (not triggered up from scroll-view.js scrollCallback function)On Android it happens rarely and you just need to scroll very fast to the bottom.
Other information:
A standard onscroll event handler attached to the scroll container is correctly triggered in the scenario described above. (press spacebar to scroll)
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (C:\Users\redacted\AppData\Roaming\npm\node_modules)
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2
global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms : none
Ionic Framework : ionic-angular 3.6.1
System:
Node : v8.4.0
npm : 5.3.0
OS : Windows 8.1
We can also reproduce this issue on iOS (11.0.3) if you swipe and let go, allowing the 'momentum' to scroll all the way to the bottom.
Same problem here, sometimes when scrolling very fast, the event is not fired.
I've been trying different threshold values to counter the issue, but to no avail. I can definitely reproduce this consistently, and it's quite a disturbance for users.
nobody is looking into such serious issue?
We are facing the same issue here. Any workaround?
Seems like the ionic-team is focused on ionic4. I haven't seen any progress on my known issues for months :(.
Same here on any IOS device
Ys same here.issue with ion-infinite event triggering
FYI there is a workaround. I implemented these changes directly in the compiled source and its been working for months now.
@lostdev So Infinitescroll issue is still remains on v3 ?
Sadly we're still observing this issue (tested in desktop Chrome) with ionic-angular 3.9.2. I even tried @lostdev's workaround but it didn't seem to make a difference.
Given the unpredictability of the event in question, the whole ion-infinite-scroll is basically broken for us :/
@mhartington Any buttons you can push over there?
EDIT: In the meantime we ended implementing our own "ion-infinite-scroll" functionality.
This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!
Thank you for using Ionic!
Issue moved to: https://github.com/ionic-team/ionic-v3/issues/315