diff --git a/src/renderers/Table.tsx b/src/renderers/Table.tsx index 2641d5310..495b34f52 100644 --- a/src/renderers/Table.tsx +++ b/src/renderers/Table.tsx @@ -505,7 +505,7 @@ export default class Table extends React.Component { widths[item.getAttribute('data-index') as string] = item.clientWidth; }); forEach( - table.querySelectorAll('tbody>tr>*:first-child'), + table.querySelectorAll('tbody>tr>*:last-child'), (item: HTMLElement, index: number) => (heights[index] = item.clientHeight) );