diff --git a/build/Table.js b/build/Table.js index cc9fa3d..092f932 100644 --- a/build/Table.js +++ b/build/Table.js @@ -236,7 +236,7 @@ var Table = function (_Component) { } if (nextProps.columns && nextProps.columns !== this.props.columns) { this.columnManager.reset(nextProps.columns); - if (nextProps.columns.length !== this.props.length && this.refs && this.refs.bodyTable) { + if (nextProps.columns.length !== this.props.columns.length && this.refs && this.refs.bodyTable) { this.refs.fixedColumnsBodyLeft && (this.refs.fixedColumnsBodyLeft.scrollTop = this.refs.bodyTable.scrollTop); this.refs.fixedColumnsBodyRight && (this.refs.fixedColumnsBodyRight.scrollTop = this.refs.bodyTable.scrollTop); } diff --git a/package.json b/package.json index cd58dab..acc5e55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.4.25", + "version": "1.4.26", "description": "Table ui component for react", "keywords": [ "react",