Explorar el Código

Table: update resizeState when updateColumnsWidth (#10338)

Harlan hace 7 años
padre
commit
5b41b1a789
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/table/src/table-layout.js

+ 1 - 0
packages/table/src/table-layout.js

@@ -159,6 +159,7 @@ class TableLayout {
       }
 
       this.bodyWidth = Math.max(bodyMinWidth, bodyWidth);
+      this.table.resizeState.width = this.bodyWidth;
     } else {
       flattenColumns.forEach((column) => {
         if (!column.width && !column.minWidth) {