Skip to content

Commit 660c5ec

Browse files
committed
Update VirtualTableBody.tsx
1 parent ca2558b commit 660c5ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/main/src/components/AnalyticalTable/TableBody/VirtualTableBody.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,12 @@ export const VirtualTableBody = (props: VirtualTableBodyProps) => {
180180
) {
181181
updatedHeight += subComponentsHeight?.[virtualRow.index]?.subComponentHeight ?? 0;
182182
}
183+
183184
return (
184185
// eslint-disable-next-line react/jsx-key
185186
<div
186-
ref={rowVirtualizer.measureElement}
187187
{...rowProps}
188+
ref={rowVirtualizer.measureElement}
188189
style={{
189190
...(rowProps.style ?? {}),
190191
transform: `translateY(${virtualRow.start}px)`,

0 commit comments

Comments
 (0)