diff --git a/src/entities/Font/ui/FontVirtualList/FontVirtualList.svelte b/src/entities/Font/ui/FontVirtualList/FontVirtualList.svelte index 48d03fb..7d4cc84 100644 --- a/src/entities/Font/ui/FontVirtualList/FontVirtualList.svelte +++ b/src/entities/Font/ui/FontVirtualList/FontVirtualList.svelte @@ -4,6 +4,7 @@ - Handles font registration with the manager -->
- {#if skeleton && isLoading && fontStore.fonts.length === 0} + {#if showInitialSkeleton && skeleton} -
+
{@render skeleton()}
{:else} @@ -131,14 +162,20 @@ function handleNearBottom(_lastVisibleIndex: number) { {#snippet children(scope)} {@render children(scope)} {/snippet} + {#if showCatchupSkeleton && skeleton} +
+ {@render skeleton()} +
+ {/if} {/if}