mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 22:17:40 +08:00
@ -501,15 +501,17 @@ export class VirtualScroll implements DoCheck, AfterContentInit, OnDestroy {
|
||||
|
||||
adjustRendered(cells, data);
|
||||
|
||||
populateNodeData(
|
||||
data.topCell, data.bottomCell,
|
||||
data.viewWidth, true,
|
||||
cells, records, nodes,
|
||||
this._itmTmp.viewContainer,
|
||||
this._itmTmp.templateRef,
|
||||
this._hdrTmp && this._hdrTmp.templateRef,
|
||||
this._ftrTmp && this._ftrTmp.templateRef, needClean
|
||||
);
|
||||
this._zone.run(() => {
|
||||
populateNodeData(
|
||||
data.topCell, data.bottomCell,
|
||||
data.viewWidth, true,
|
||||
cells, records, nodes,
|
||||
this._itmTmp.viewContainer,
|
||||
this._itmTmp.templateRef,
|
||||
this._hdrTmp && this._hdrTmp.templateRef,
|
||||
this._ftrTmp && this._ftrTmp.templateRef, needClean,
|
||||
);
|
||||
});
|
||||
|
||||
if (needClean) {
|
||||
this._cd.detectChanges();
|
||||
|
Reference in New Issue
Block a user