bug: ionic-virtual-scroll does not update its content
See original GitHub issueBug Report
Ionic version: [x] 4.5~4.6
Current behavior:
Expected behavior:
when there is no data the ionic-virtual-scroll should be updated, disappearing, not leaving the last used ionic-virtual-scroll
Other information: reference to closed but not fixed errors #15194 #14696
Ionic info:
Ionic:
Ionic CLI : 5.0.2 (C:\Users\Administrador\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.5.0
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Cordova:
Cordova CLI : not installed
Cordova Platforms : not available
Cordova Plugins : not available
Utility:
cordova-res : not installed
native-run : 0.2.5
System:
NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
bug: ionic-virtual-scroll does not update its content #18557
Bug Report Ionic version: [x] 4.5~4.6 Current behavior: Expected behavior: when there is no data the ionic-virtual-scroll should be updated, ...
Read more >Angular CDK virtual scrolling issue - Stack Overflow
The code is using Ionic 5 + Angular. The reason of not using Ion-virtual-scroll is refer to suggestion from the team.
Read more >ion-virtual-scroll | Angular Virtual Scroll List for Ionic Apps
ion -virtual-scroll. Virtual Scroll displays a virtual, "infinite" list. An array of records is passed to the virtual scroll containing the data to...
Read more >How to use Angular Virtual Scroll with Ionic - YouTube
The Ionic virtual scroll component was deprecated with Ionic 6, but we can easily transition to the Angular virtual scroll implementation to ...
Read more >Scrolling | Angular Material
Virtual scrolling is different from strategies like infinite scroll where it renders a set amount of elements and then when you hit the...
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
Hey @carlosnewmusic ,
Not sure you have this as an option, but consider using a 3rd party virtual-scroller component? The ionic component has been plagued with bugs for years:
https://github.com/rintoj/ngx-virtual-scroller
I use this one and it solves a number of problems including not being able to style scrollbars in Ionic 4.
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.