Skip to content

Commit

Permalink
Fix an issue where column resize may not result in cells (#533)
Browse files Browse the repository at this point in the history
This happens if the resize also causes a scroll
  • Loading branch information
wcjordan committed May 27, 2020
1 parent a65084c commit c551fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FixedDataTableCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ class FixedDataTableCell extends React.Component {
return true;
}

const { cell: oldCell, isScrolling: oldIsScrolling, ...oldProps } = this.props;
const { cell: newCell, isScrolling: newIsScrolling, ...newProps } = nextProps;
const { cell: oldCell, ...oldProps } = this.props;
const { cell: newCell, ...newProps } = nextProps;

if (!shallowEqual(oldProps, newProps)) {
return true;
Expand Down

0 comments on commit c551fdd

Please sign in to comment.