diff --git a/packages/vtable/src/scenegraph/scenegraph.ts b/packages/vtable/src/scenegraph/scenegraph.ts index a1dedb568..1fd143648 100644 --- a/packages/vtable/src/scenegraph/scenegraph.ts +++ b/packages/vtable/src/scenegraph/scenegraph.ts @@ -1108,6 +1108,9 @@ export class Scenegraph { width: this.table.getRightFrozenColsWidth() }); } + + // update dom container size + this.updateDomContainer(); } updateRowHeight(row: number, detaY: number, skipTableHeightMap?: boolean) { @@ -1665,7 +1668,7 @@ export class Scenegraph { this.updateTableSize(); this.component.updateScrollBar(); - this.updateDomContainer(); + // this.updateDomContainer(); this.updateNextFrame(); }