T
TanStack3y ago
fair-rose

Do virtual list items have to be positioned absolutely?

All of the examples have absolute positioning, is this required?
3 Replies
fair-rose
fair-roseOP3y ago
They do no it appears
noble-gold
noble-gold3y ago
I’m wondering this too but not able to get it working. Any insight ?
vicious-gold
vicious-gold3y ago
In the React Examples on the docs there's a few options. 1. using padding at top and bottom of the virtual list doesn't require absolute. 2. Another example shows absolute positioning of each row with transform to offset, and 3. another example show absolute positioning of all rows as a group with transform to offset. hope that helps

Did you find this page helpful?