diff --git a/components/tree/DirectoryTree.jsx b/components/tree/DirectoryTree.jsx index 727d13ba1e..37e6170d91 100644 --- a/components/tree/DirectoryTree.jsx +++ b/components/tree/DirectoryTree.jsx @@ -155,6 +155,7 @@ export default { newEvent.selectedNodes = convertDirectoryKeysToNodes(children, newSelectedKeys); } else if (multiple && shiftPick) { // Shift click + this.cachedSelectedKeys = keys; newSelectedKeys = Array.from( new Set([ ...(this.cachedSelectedKeys || []), diff --git a/components/vc-table/src/Table.jsx b/components/vc-table/src/Table.jsx index 90dce9b5c4..912138895b 100644 --- a/components/vc-table/src/Table.jsx +++ b/components/vc-table/src/Table.jsx @@ -303,10 +303,11 @@ export default { bodyRows, (acc, row) => { const rowKey = row.getAttribute('data-row-key'); - const height = - row.getBoundingClientRect().height || - state.fixedColumnsBodyRowsHeight[rowKey] || - 'auto'; + const height = 'auto'; + // const height = + // row.getBoundingClientRect().height || + // state.fixedColumnsBodyRowsHeight[rowKey] || + // 'auto'; acc[rowKey] = height; return acc; },