misc: update virtual list overscan logic

This commit is contained in:
James Xylight committed 2025-07-06 16:08:23 -07:00
1 parent 412977a484
commit 25b8f34b61
5 files changed
+13 -7

No files matched your search

@@ -42,8 +42,8 @@
{#if offsetEl}
<VirtualList
class="divide-y divide-slate-200 dark:divide-zinc-800 w-full"
overscan={1000}
estimatedHeight={300}
overscan={2}
estimatedHeight={2000}
items={nodes}
{initialOffset}
>