VirtualScroll Issue Round Up
I have run through all open tickets relating to virtualscroll and have compiled this list. Those tickets that still need action (unless otherwise noted) can still be reproduced. I have clearly listed duplicate tickets and tickets for issues that I can no longer reproduce with ionic2 RC1.
Hopefully this helps to clean up the open issues and can be used as a focus to target those virtualscroll issues that still exist. Most of these issues relate to ios uiwebview, although some are across all platforms.
Issues Confirmed Still Present in 3.4.2 #7734 - virtualscroll shows blank screen when used inside an ion-segment (or other conditional such as *ngIf) #9765 - refresher component does not work with virtualscroll lists (with ionic 3.4.2 refresher cannot even be triggered if there is a virtual scroll list, cannot pull down properly) #9975 - ScrollToTop and ScrollTo(x,y) does not work on virtualscroll list with uiwebview. create a list, add a button that will scroll to top or a to a specific location. Scroll down the list and hit the button. The display of the list will either flicker or show part of the items at the scroll destination. As soon as you try to scroll again the list display refreshes to be back where you were before pressing the button. So essential scrollTo functions do nothing. (uiwebview). This was closed but is still definitely present. #9935 - filtering a virtualscroll list does not refocus the view port on the new list content. This issue is still present but has slightly different symptoms. I have updated the ticket with testing from v3.4.2 #12649 - using ItemSliding with VirtualScroll causes multilpe items to be slid open at once
To be confirmed (I haven't had time to test this one yet) #11788 - When using virtual scroll with infinite scroll, when infinite scroll appends new items to the end of the list the list flickers and jumps slightly up or down.
Issue Confirmed Fixed/cannot reproduce in 3.4.2 (issues that can be closed)
Click on Details to see the fixed issues
#6999 - I believe this should be the same issue as #8267, until there is a small extra scroll not all items render after scrolling stops.
#8142 - Can be closed,
@ghenry22 This is awesome! Thanks for putting this together. I am going over this now.
@ghenry22 thanks so much!!! this is amazing, I will start working on this and picker/datetime once all the mayor navigation issues are fixed
great work! virtual scoll has so much performance potential yet is not cared enough.
@manucorporat @jgw96 No problem I thought I would try and help clean up some of the open issues and make it easier to focus on what is outstanding with virtualscroll.
@manucorporat @jgw96 could this please get pulled into either RC3 or RC4?
I know it's pre-release but virtualscroll has been very broken on ios since it was released as a feature. It would be really great to get it at least usable and close to on par with android.
Hello @ghenry22 ! We have added #8267 to the rc3 milestone and will be working through these issues as we get closer to stable and after stable. Thanks!
I just (re-)opened an issue concerning virtual scroll: #9247
Another virtual scroll issue: #9350
Just started testing virtualscroll with RC4 as I saw there were some commits related to it. Unfortunately a lot of these issues still remain and some are even worse.
Scroll acceleration is now horrible in UIWebview on IOS. Very laggy and slow, far worse than in rc3.
Conflict with ion-refresher is still present on UIWebview on IOS. At any point if you swipe down (regardless of position in list) the refresher triggers. Previously this was annoying as it would reload the list data. In rc4, the whole app becomes unresponsive, it uses up all the memory available and then crashes.
So for an app using iOS with ion-refresher and virtualscroll it is still not possible to scroll a list up and down in RC4. Surely when talking about ionic components, nothing unusual and in RC stage this level of issue should be considered quite major? I know it's still pre-release and that's no problem. I'd just love to be able to start testing my app on ios properly and sharing the beta with people.
I would love to help the ionic team to get virtualscroll playing nice. I am happy to test changes or new builds against my app as fast as they can be released, I will spend as much of my time as needed to help.
Can someone PLEASE, PLEASE, PLEASE work on this?
Any update on this? Just tried using it today, and had many many problems
unfortunately I have not seen any updates to virtual scroll since about RC4. Hopefully the team will be able to put some focus onto in soon as it is driving me a bit nuts. It makes it really hard to get an ionic2 app live in a state that doesn't generate negative feedback with unpredictable list handling.
@manucorporat did make an awesome update to the wkwebview plugin though which allows you to access locally stored persistent storage so I was able to move to using that which resolved some of the harsher issues so I could actually publish my app in a reasonable state.
Virtual scroll definitely needs some attention. As you said, @ghenry22, it is very difficult to release an ionic2 app that handles a lot of data with long lists without it. Could the ionic team give some updates on virtual scrolling in general, perhaps a road map? @jgw96 @manucorporat @danbucholtz
@manucorporat @jgw96 Hi Guys, any chance we could get a bit of focus onto fixing up virtualscroll in an upcoming version? There is a huge list of bugs here related to it and there are many more besides this since I compiled this list. Many over lap or dupe things already here.
Primarily I think if the below 4 issues were cleared up then many of the current virtualscroll issues could be closed out as lots relate to this behaviour or a variant of this behaviour. There is a PR hanging which may address the segments/conditional bug already as well.
If you can get some fixes in I am happy to put the time updating this list and doing basic testing and triage on related issues for you.
Virtualscroll inside a conditional (ie an ngif or in a segment) Virtualscroll with refresher component (particularly on UIWebview) Virtualscroll blank page when filtering/updating a list when not at the top of the list. Virtualscroll page bounce needs to be enabled on iOS otherwise it feels very non-native.
@ghenry22 adding to the list is the issue related to infinite-scroll with virtualscroll. This is a show stopper for using ionic. As it is basic requirement, because we cannot make an app similar to fb or twitter. This is the age for big data and ionic should fix this and make this as priority. @mhartington @adamdbradley @jgw96 @mlynch @brandyscarney @manucorporat
We will be discussing this issue internally at our meeting tomorrow morning and will update this issue once we have a timeline for this. Thank you!
@brandyscarney Virtual scroll is very important for fb,tw like apps, hope bugs will be fixed soon
@brandyscarney thanks for the update. As mentioned I am more than happy to donate time testing and cleaning up open issues related to virtualscroll so you guys can focus more on fixes for it! Just let me know if I can help in any way.
Another virtualscroll issue introduced with rc4: #9660
Most of these issues come from the fact that the views in the virtual scroll are created outside the angular zone. See https://github.com/driftyco/ionic/issues/10451