diff --git a/packages/table/src/table-layout.js b/packages/table/src/table-layout.js index 6365dc9b550..3821d7b8e06 100644 --- a/packages/table/src/table-layout.js +++ b/packages/table/src/table-layout.js @@ -171,7 +171,7 @@ class TableLayout { flexColumns[0].realWidth = (flexColumns[0].minWidth || 80) + totalFlexWidth - noneFirstWidth; } - } else { // HAVE HORIZONTAL SCROLL BAR + } else if (bodyWidth && scrollYWidth) { // HAVE HORIZONTAL SCROLL BAR this.scrollX = true; flexColumns.forEach(function(column) { column.realWidth = column.minWidth;