ipppm-pivot
Advanced tools
Comparing version 6.9.13 to 6.9.14
{ | ||
"name": "ipppm-pivot", | ||
"version": "6.9.13", | ||
"version": "6.9.14", | ||
"description": "A fast, lightweight, opinionated table and datagrid built on React", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1597,6 +1597,7 @@ import React, { Component } from 'react' | ||
const tHeaderHeight = headerRowCount ? headerRowCount * rowHeight: countHeaders * rowHeight + rowHeight; | ||
let spaceForBody = height - tHeaderHeight - tFootHeight - scrollBarWidth; | ||
spaceForBody = pageRows.length * rowHeight > spaceForBody ? spaceForBody : pageRows.length * rowHeight; | ||
const { paddingBottom, pageSize } = calculateItemsPerPage(spaceForBody); | ||
const tBodyHeight = spaceForBody - paddingBottom | ||
let bodyHeight = height - tHeaderHeight - tFootHeight - scrollBarWidth; | ||
let spaceForBody = pageRows.length * rowHeight > bodyHeight ? bodyHeight : pageRows.length * rowHeight; | ||
const { paddingBottom, pageSize } = calculateItemsPerPage(bodyHeight); | ||
const tBodyHeight = spaceForBody - (bodyHeight >= spaceForBody ? 0: paddingBottom); | ||
@@ -1603,0 +1604,0 @@ if (allVisibleColumns.length && (this._tableHeight !== height || this._bodyHeight !== tBodyHeight)) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2661491