Skip to content

Commit 87332a5

Browse files
committed
fix(AnalyticalTable): update virtualizer in animation frame
1 parent 280afa9 commit 87332a5

File tree

1 file changed

+2
-1
lines changed
  • packages/main/src/components/AnalyticalTable

1 file changed

+2
-1
lines changed

packages/main/src/components/AnalyticalTable/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,8 @@ const AnalyticalTable = forwardRef<AnalyticalTableDomRef, AnalyticalTablePropTyp
695695
),
696696
overscan,
697697
measureElement,
698-
indexAttribute: 'data-virtual-row-index'
698+
indexAttribute: 'data-virtual-row-index',
699+
useAnimationFrameWithResizeObserver: true
699700
});
700701
// add range to instance for `useAutoResize` plugin hook
701702
tableInstanceRef.current.virtualRowsRange = rowVirtualizer.range;

0 commit comments

Comments
 (0)