Ionic v4 wicked bug in ion-virtual-scroll


There’s a wicked bug in ion-virtual-scroll, where all the items are drawn on top of each other at the top of the page. Unfortunately I can’t reliably reproduce it but it happens when entering the tab that contains the ion-virtual-scroll, from another tab. The solution I have is to call this.virtualScroll.checkRange(0,length) on the items inside ionViewDidEnter(), however this causes the list to flicker when the tab is entered. I did indeed see it fix the bug once, where I briefly saw all items drawn on top of each other and then flickered to a correct list.