The IonVirtualScroll
component does not update when the screen orientation changes. I have tried something like this, which was recommended in earlier versions of Ionic:
this.screenOrientation.onChange().subscribe(()=>{
virtualScroll.readUpdate(true)
virtualScroll.writeUpdate(true)
})
However those methods no longer exist in Ionic-v4 and I can’t find any other equivalent method. Is there one?