Yaropolki4
Yaropolki4
The problem is still relevant. I couldn't think of anything better than creating a separate component for each lane.
Or you can use something like this ```ts const [ref, { width }] = useMeasure(); const lanes = Math.floor(width / COLUMN_WIDTH); return ( {data?.length ? ( strategy.id} lanes={lanes} className="absolute" //...
I had simular issue. I separated the scroller component from the other virtualizer logic. // VirtualList .......... //Scroller export function Scroller({ children, ref, }: { children: React.ReactNode; ref: React.RefObject; })...