question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: ionic-virtual-scroll does not update its content

See original GitHub issue

Bug Report

Ionic version: [x] 4.5~4.6

Current behavior: image image

Expected behavior: when there is no data the ionic-virtual-scroll should be updated, disappearing, not leaving the last used ionic-virtual-scroll image image

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:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
lincolnthreecommented, Jun 17, 2019

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.

0reactions
ionitron-bot[bot]commented, Nov 6, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found