If items in a virtual list are loaded asynchronously, they don't appear.
They should be displayed :)
Steps to reproduce:
What it might be after a brief look at the directive :
The ngDoCheck method only updates the list if _initis true.
ngDoCheck() {
if (this._init) {
this.update(true);
}
}
But this._init is only set to true on the update()method (called by ngAfterContentInit()) IF there are already elements to display. If those elements are loaded after the ngAfterContentInit() is executed, this._init will never be set to true and the items won't be rendered :
update(checkChanges: boolean) {
var self = this;
if (!self._records || !self._records.length) return;
Which Ionic Version?
Ionic V2 beta 4
Hah, looks like you got here right before me! Same issue here in #6125
Thanks for the detailed report and helping to debug this. Should be fixed in the next release.
Most helpful comment
Hah, looks like you got here right before me! Same issue here in #6125