mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
chore(package): update stencil
This commit is contained in:
@ -280,8 +280,8 @@ export class VirtualScroll {
|
||||
this.setCellHeight(cell, height);
|
||||
}
|
||||
};
|
||||
if ('componentOnReady' in node) {
|
||||
node.componentOnReady(update);
|
||||
if (node && node.componentOnReady) {
|
||||
node.componentOnReady().then(update);
|
||||
} else {
|
||||
update();
|
||||
}
|
||||
|
Reference in New Issue
Block a user