Skip to content

Commit

Permalink
fix: fix updateDomContainer timing
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui-Sun committed Jan 16, 2025
1 parent f88bbb8 commit 4954b06
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vtable/src/scenegraph/scenegraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,9 @@ export class Scenegraph {
width: this.table.getRightFrozenColsWidth()
});
}

// update dom container size
this.updateDomContainer();
}

updateRowHeight(row: number, detaY: number, skipTableHeightMap?: boolean) {
Expand Down Expand Up @@ -1665,7 +1668,7 @@ export class Scenegraph {
this.updateTableSize();
this.component.updateScrollBar();

this.updateDomContainer();
// this.updateDomContainer();

this.updateNextFrame();
}
Expand Down

0 comments on commit 4954b06

Please sign in to comment.