diff --git a/build/Table.css b/build/Table.css index 49e554a..b6589ad 100644 --- a/build/Table.css +++ b/build/Table.css @@ -278,7 +278,8 @@ .u-table-filter-column-pop-cont { margin: 0px; max-height: 300px; - overflow-y: scroll; } + overflow-y: scroll; + color: #212121; } .u-table-filter-column-clear-setting { margin-bottom: 4px; } .u-table-filter-column-cont { diff --git a/build/Table.js b/build/Table.js index c1c7f1a..5c27112 100644 --- a/build/Table.js +++ b/build/Table.js @@ -1125,7 +1125,7 @@ var Table = function (_Component) { columns = _props7.columns, heightConsistent = _props7.heightConsistent; - var headRows = this.refs.headTable ? this.refs.headTable.querySelectorAll('thead') : this.refs.headTable.querySelectorAll('thead'); + var headRows = this.refs.headTable ? this.refs.headTable.querySelectorAll('thead') : this.refs.bodyTable.querySelectorAll('thead'); var bodyRows = this.refs.bodyTable.querySelectorAll('.' + clsPrefix + '-row') || []; var leftBodyRows = this.refs.fixedColumnsBodyLeft && this.refs.fixedColumnsBodyLeft.querySelectorAll('.' + clsPrefix + '-row') || []; var rightBodyRows = this.refs.fixedColumnsBodyRight && this.refs.fixedColumnsBodyRight.querySelectorAll('.' + clsPrefix + '-row') || []; diff --git a/package.json b/package.json index 00b739d..f5abc46 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "2.0.9", + "version": "2.0.10", "description": "Table ui component for react", "keywords": [ "react", @@ -90,4 +90,4 @@ "bee-pagination": "^2.0.5", "bee-popover": "^2.0.0" } -} +} \ No newline at end of file