Use virtual scroll list in the middle of a scrollable <div>
I am trying to use a virtual scroll list in the middle of scrollable <div> element. Unfortunately, the list is always placed at absolute coordinates instead of flowing naturally with the rest.
Here is a minimal working example: https://stackblitz.com/edit/solidjs-templates-nexbnn?file=src%2FApp.tsx
The code uses SolidJS, but that should probably not matter.
2 Replies
equal-aqua•3y ago
Hey @sonovice , did you ever get this figured out? I'm facing a similar issue and looking for clues
protestant-coral•3y ago
Hi, you can use
scrollMargin to show where the list starts