Skip to content

Commit

Permalink
Update VirtualTableBody.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNotheis committed Aug 30, 2023
1 parent ca2558b commit 660c5ec
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,12 @@ export const VirtualTableBody = (props: VirtualTableBodyProps) => {
) {
updatedHeight += subComponentsHeight?.[virtualRow.index]?.subComponentHeight ?? 0;
}

return (
// eslint-disable-next-line react/jsx-key
<div
ref={rowVirtualizer.measureElement}
{...rowProps}
ref={rowVirtualizer.measureElement}
style={{
...(rowProps.style ?? {}),
transform: `translateY(${virtualRow.start}px)`,
Expand Down

0 comments on commit 660c5ec

Please sign in to comment.