TanStackT
TanStackโ€ข3y agoโ€ข
4 replies
primary-violet

Example for reversed virtualization using a non-window virtualizer?

I found this example by @piecyk online: https://codesandbox.io/p/sandbox/beautiful-meninsky-fr6csu?file=%2Fpages%2Findex.js%3A153%2C36-153%2C50
Also a MR and some issues related to reversing the virtual list and "reverse" infinite scroll. My usecase is also a chat app.

I'm trying to recreate it for a non-window virtualizer by using 2 refs (1 for getScrollElement and 1 to access .options) but I can't get it to work properly. Did anyone ever implement this? Is there some example codesandbox that I missed? ๐Ÿ™‚
CodeSandbox is an online editor tailored for web applications.
beautiful-meninsky-fr6csu
Was this page helpful?