Replies: 2 comments 1 reply
-
Does anyone know how to accomplish this? It would be really great to have a fully responsive solution without a fixed height. |
Beta Was this translation helpful? Give feedback.
-
Hey there! I think this example would work for you? https://codesandbox.io/s/tanstack-virtual-responsive-forked-ucclwo?file=/src/App.js What it basically does is it uses a window resize hook to listen for window width changes and then calls the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been playing around with the latest release. I still have not been able to figure out how to make this work responsively. Has anyone else been able to accomplish this? In the previous version, I was able to make everything work except it would not update with a viewport change. Now, the list items are over-lapping right from the start.
https://codesandbox.io/s/tanstack-virtual-responsive-jfyt31?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions