Replies: 2 comments
-
I believe useWindowVirtualizer is used when the whole html window is the scroll container, vs useVirtualizer is when a sub section like a div is the scroll container. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am able to get it working with import { useWindowVirtualizer } from '@tanstack/react-virtual'; export default function TList() {
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I love the library!
I'm attempting to implement window scrolling and can't seem to get the options quite right. How should the configuration for
useWindowVirtualizer
differ fromuseVirtualizer
? Is there an example of window scrolling that uses the v3 beta?Thanks for all the great work!
Beta Was this translation helpful? Give feedback.
All reactions