Skip to content

Commit

Permalink
fix(Table): correct table column resizing (#4508)
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondtm committed Dec 6, 2023
1 parent 8fece00 commit a81c7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/table/base/resize.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Resize extends React.Component {
if (this.props.hasLock) {
if (!this.props.asyncResizable) {
// when hasn't lock attribute, cellLeft will change
this.cellLeft = this.props.cellDomRef.getBoundingClientRect().left - this.tLeft;
this.cellLeft = this.props.cellDomRef.current.getBoundingClientRect().left - this.tLeft;
}
}
this.movingLimit();
Expand Down

0 comments on commit a81c7c2

Please sign in to comment.