Skip to content

Commit 58815ca

Browse files
committed
fix(bug): fix table height
1 parent 471a81b commit 58815ca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

components/vc-table/src/Table.jsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,11 @@ export default {
303303
bodyRows,
304304
(acc, row) => {
305305
const rowKey = row.getAttribute('data-row-key');
306-
const height =
307-
row.getBoundingClientRect().height ||
308-
state.fixedColumnsBodyRowsHeight[rowKey] ||
309-
'auto';
306+
const height = 'auto';
307+
// const height =
308+
// row.getBoundingClientRect().height ||
309+
// state.fixedColumnsBodyRowsHeight[rowKey] ||
310+
// 'auto';
310311
acc[rowKey] = height;
311312
return acc;
312313
},

0 commit comments

Comments
 (0)