Skip to content

Commit d87c06e

Browse files
authored
fix(AnalyticalTable): update virtualizer in animation frame (#6923)
1 parent 6421196 commit d87c06e

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)