We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d6e3c9 commit 995c9bcCopy full SHA for 995c9bc
packages/react-virtual/src/index.tsx
@@ -84,7 +84,6 @@ export function useWindowVirtualizer<TItemElement extends Element>(
84
observeElementRect: observeWindowRect,
85
observeElementOffset: observeWindowOffset,
86
scrollToFn: windowScroll,
87
- initialOffset: () => (typeof document !== 'undefined' ? window.scrollY : 0),
88
...options,
89
})
90
}
0 commit comments