Closed leongzw closed 5 years ago
Have you tried the final release version to see if that helps?
@jwelmac Yes i did try out the final release but no luck, the issues are still existing.
Hello, thanks for opening an issue with us, we will take a look into this.
@leongzw i'm also with the same problem. Thank you for reporting this issue
@jgw96 Hi, do you have any update or hotfix for this issue??
further update: it seem like the issue is caused by multiple of
<ion-content>
<ion-slides>
<ion-slide>
<ion-content></ion-content>
<ion-slide>
<ion-slides
<ion-content>
I'm having trouble with Infinite Scroll as well, on an ion-list
. If you use position="top"
, when using an async datasource, the initial rendering of the list will not start at the bottom of the list as it should (it works when using a synchronous data source). So it begins at the top of the list, and immediately starts loading in more data when you scroll (because you are already at the top).
Hope that makes sense.
I've tried wrapping the entire thing in an *ngIf
, but it doesn't solve the problem.
This is in v3.3.0
!
Edit - a bit of code for clarification The problems comes from the async pipe:
<ion-infinite-scroll (ionInfinite)="doInfinite($event)" position="top">
<ion-infinite-scroll-content></ion-infinite-scroll-content>
</ion-infinite-scroll>
<ion-list>
<ion-item *ngFor="let item of items | async">{{item}}</ion-item>
</ion-list>
@leongzw Possible that you update the title to reflect that this also happens with ion-list
, and Ionic 3.3.0?
Yeah confirming that this is happening to me too on ion-list
Iam having same issue with ionic infinitescroll with ion slider. Working for only for the initial page loading. Api returns data perfectly on each scroll. Is there any solution for the issue? Waiting for the update on the isssue My current version:3.9.2
@jgw96 Is there any fix for this issue? this issue is still opened.Iam in trouble with the issue . My current ionic version:3.9.2
facing issue with ion-slide . Currently i want to show 10 items horizontally and after reaching on last item it may show next 10 items with infinite scroll. but ion-infinite-scroll is working vertically .
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/186
Ionic version: (check one with "x") [ ] 1.x [x] 2.x
I'm submitting a ... (check one with "x") [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
infinite scroll in ion-slide is not trigger when the view is scrolled to the bottom upon entering the view for the first time, however it will be triggered after navigating back from a view pushed from the slide. This only happens when its async data.
Expected behavior: infinite scroll should be functioning upon entering the view.
Steps to reproduce:
Related code:
Other information: This only happens if the data in *ngFor is async from server. If the data is initialized locally, the infinite scroll is working perfectly. It looks like the ion-content is broken upon entering the view with ion-slide for the first time since infinite scroll has to be placed in an ion-content to be functioning. Even (ionScroll) event i placed in ion-content inside of the ion-slide is not fired before reentering the view.
Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):