Multiple Virtualized Lists in Shared Scroll Container Issue #927
-
I'm working with My current approach involves a context to share the scroll parent ref between the virtualized sections. I tried adjusting the Here's a simplified example demonstrating the issue: https://stackblitz.com/edit/sb1-zjvjhxge Any guidance or examples would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
My bad, just checked once again the documentation of https://tanstack.com/virtual/latest/docs/api/virtualizer#scrollmargin and the description is clear. Here's the fixed version of my example https://stackblitz.com/edit/sb1-dhlx1rkx |
Beta Was this translation helpful? Give feedback.
My bad, just checked once again the documentation of https://tanstack.com/virtual/latest/docs/api/virtualizer#scrollmargin and the description is clear.
Here's the fixed version of my example https://stackblitz.com/edit/sb1-dhlx1rkx