-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
todo(ion-virtual-scroll): Bugs and feature requests #16632
Comments
Thank you @paulstelzer for making this collection. Not being able to use long lists in Ionic is the top limitation preventing me from using the framework. Having reliable professional and well-behaved components would be important for me (and more than few others I believe) over any other nice/exciting developments by the wonderful Ionic team. |
@paulstelzer - I have just added the following as feature request (#16930) |
Seriously these issues are major blockers for us to use ionic v4 :( |
ion-item-divider sticky attribute does not work with inside virtual scroll |
Hey, I actually don't know how to have correct performance without using virtual-scroll, but if I do, then there are several problems with data update not being reflected, and I'm kinda stuck. Is there any workaround or should I use infinite-scroll ? Thanks |
I think this should be priority number 1, a lot of apps have large lists of data and infinite scroll isn't solution |
On Scrolling it loads previously loaded item images from higher in the menu for the new items, then corrects once it loads the correct item image. Here overall user experience is very bad. They see one image when scrolling, and the new image gets loaded after some time. Experience is not smooth, and its confusing |
Has anybody found an alternative to virtual scroll? Because ion-list is not a good choice when i have a +100 items, and virtual scroll has a lot of bugs. Infinite scroll is not a good idea when i have 3 slides of list, because all of them uses the same event (ionInfinite) |
I can verify that issue #15471 is still occurring in the current version. I have a little repo right here: https://stackblitz.com/edit/ionic-v4-angular-tabs-8xtl6w It won't always render in the wrong order, but if you refresh a few times it should. Here is a screenshot of it: Also, it seems the elements are rendered in the opposite order, starting from the last to the first, whenever it does render all of them in the right order. |
@brandyscarney and @paulstelzer and @manucorporat -- yes, here's a similar but informative open issue (#18409) not on your list. I would like to help close this and similar issues. But since these issues have been around for more than a year, I'd like to start after being briefed on what has been done so far and how to move forward. Is that possible, or do I need to dig around on my own? Please do not hesitate to contact me if you have any leads on how to solve this issue. |
version 5.0.0 |
I've been trying to use ion-virtual-scroll but after many bugs encountered I've decided to use the CDK Virtual Scroll which is more reliable. Especially the update mechanism of CDK Virtual Scroll is more convenient as we can update the full list item |
@Yohandah Sorry to hear you had the same issues with virtual scroll we have. The ion-virtual-scroll seems incredibly bugged in many (documented and reported) ways. Do you have an example of using CDK Virtual Scroll that effectively replaced ion-virtual-scroll, that you can post here? I'm interested to see what your CDK VS implementation looks like, to see if we could improve our own solution. Right now we are using an in-house fork of https://github.com/rintoj/ngx-virtual-scroller |
@lincolnthree Basically I wanted to implement a I started with a basic implementation (https://stackblitz.com/edit/angular-material-cdk-virtual-scrolling?file=src/app/app.component.html) and then added an "infinite behavior" using this tutorial https://fireship.io/lessons/infinite-virtual-scroll-angular-cdk/ using their What I liked about CDK is that you can use Angular ChangeDetection ... which allows for instance to update your data doing |
@lincolnthree Looks like you should migrate to CDK VirtualScroller! 2 days ago from Ionic Staff:
|
@Yohandah Wooo!! Thank you for sharing this concept, and for sharing the team's direction. This is great news. I'm going to be looking at CDK virtual scroller soon, although I think it still does not support a few things that ngx-virtual-scroll does that we need. (Like multiple items per row / multiple columns / line wrapping): |
following the infinite scroll example, I cant get past "object is possibly null" referring to ev.target. for some reason if i use "ev.detail.complete()" instead of "ev.target.complete()", it will work once or twice before the ev.target becomes null again. |
or |
Maybe you can use this example - material cdk though: |
Thanks for the issue! With the release of Ionic 6, we made the decision to deprecate Moving forward, We have prepared migration guides for each of the 3 JavaScript frameworks we support, so developers can get started migrating right away. Migration for Angular Some Ionic components that rely on scrolling inside of We believe this change will lead to a healthier Ionic ecosystem as it frees up resources for the Ionic team to dedicate to other areas of this project while still giving developers options for performant virtual scroll solutions. Thank you! |
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. |
Collection of issues which are related to ion-virtual-scroll (if i missed a issue, please let me know) - for @manucorporat and the dev team
Needs investigation:
Bugs (rendering issues):
Feature requests:
The text was updated successfully, but these errors were encountered: