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

@@ -174,7 +174,8 @@
class="divide-y -mx-4 sm:-mx-6 divide-slate-200 dark:divide-zinc-900"
items={posts}
{initialOffset}
overscan={1000}
overscan={3}
estimatedHeight={settings.view == 'cozy' ? 500 : 150}
bind:restore={postFeeds.value[feedId].clientData}
bind:this={listComp}
>