diff --git a/packages/pl-fe/src/components/scrollable-list.tsx b/packages/pl-fe/src/components/scrollable-list.tsx index 7970c91c57..b1c4f9e253 100644 --- a/packages/pl-fe/src/components/scrollable-list.tsx +++ b/packages/pl-fe/src/components/scrollable-list.tsx @@ -93,12 +93,10 @@ const ScrollableList = React.forwardRef, IScrollableList>( const virtualizer = useWindowScroll ? useWindowVirtualizer({ count: data.length + (hasMore ? 1 : 0), overscan: 3, - // scrollMargin: parentRef.current?.offsetTop ?? 0, estimateSize: () => estimatedSize, }) : useVirtualizer({ count: data.length + (hasMore ? 1 : 0), overscan: 3, - // scrollMargin: parentRef.current?.offsetTop ?? 0, estimateSize: () => estimatedSize, getScrollElement: () => parentRef.current, });