qbs-react-grid 1.2.5 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -425,8 +425,8 @@ var QbsTable = function QbsTable(_ref) {
425
425
  className: "qbs-table-border-wrap",
426
426
  style: {
427
427
  overflow: !tableViewToggle ? 'auto' : '',
428
- maxHeight: !tableViewToggle ? tableBodyHeight : '',
429
- minHeight: !tableViewToggle ? tableBodyHeight : ''
428
+ maxHeight: !tableViewToggle ? height : '',
429
+ minHeight: !tableViewToggle ? height : ''
430
430
  }
431
431
  }, tableViewToggle ? /*#__PURE__*/React.createElement(Table, {
432
432
  height: autoHeight ? undefined : height,
@@ -431,8 +431,8 @@ var QbsTable = function QbsTable(_ref) {
431
431
  className: "qbs-table-border-wrap",
432
432
  style: {
433
433
  overflow: !tableViewToggle ? 'auto' : '',
434
- maxHeight: !tableViewToggle ? tableBodyHeight : '',
435
- minHeight: !tableViewToggle ? tableBodyHeight : ''
434
+ maxHeight: !tableViewToggle ? height : '',
435
+ minHeight: !tableViewToggle ? height : ''
436
436
  }
437
437
  }, tableViewToggle ? /*#__PURE__*/_react["default"].createElement(_Table["default"], {
438
438
  height: autoHeight ? undefined : height,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qbs-react-grid",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "A React table component",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -453,8 +453,8 @@ const QbsTable: React.FC<QbsTableProps> = ({
453
453
  className="qbs-table-border-wrap"
454
454
  style={{
455
455
  overflow: !tableViewToggle ? 'auto' : '',
456
- maxHeight: !tableViewToggle ? tableBodyHeight : '',
457
- minHeight: !tableViewToggle ? tableBodyHeight : ''
456
+ maxHeight: !tableViewToggle ? height : '',
457
+ minHeight: !tableViewToggle ? height : ''
458
458
  }}
459
459
  >
460
460
  {tableViewToggle ? (