Skip to content

Commit

Permalink
Table: fix#21366.Table fixed height calculated incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
TypeFusion committed Oct 9, 2021
1 parent 492ab00 commit 1142c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/table/src/table-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class TableLayout {

flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth - noneFirstWidth;
}
} else { // HAVE HORIZONTAL SCROLL BAR
} else if (bodyWidth) { // HAVE HORIZONTAL SCROLL BAR
this.scrollX = true;
flexColumns.forEach(function(column) {
column.realWidth = column.minWidth;
Expand Down

0 comments on commit 1142c8e

Please sign in to comment.