We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cb3074 commit 8f5433dCopy full SHA for 8f5433d
packages/table/src/table-layout.js
@@ -86,7 +86,7 @@ class TableLayout {
86
const tableHeight = this.tableHeight = this.table.$el.clientHeight;
87
if (this.height !== null && (!isNaN(this.height) || typeof this.height === 'string')) {
88
const footerHeight = this.footerHeight = footerWrapper ? footerWrapper.offsetHeight : 0;
89
- this.bodyHeight = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
+ this.bodyHeight = parseInt(this.height, 10) - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
90
}
91
this.fixedBodyHeight = this.scrollX ? this.bodyHeight - this.gutterWidth : this.bodyHeight;
92
0 commit comments