diff --git a/web/src/lib/components/photos-page/asset-grid.svelte b/web/src/lib/components/photos-page/asset-grid.svelte index 31c62185c6..7e3d92c838 100644 --- a/web/src/lib/components/photos-page/asset-grid.svelte +++ b/web/src/lib/components/photos-page/asset-grid.svelte @@ -30,6 +30,7 @@ let { isViewing: showAssetViewer, asset: viewingAsset } = assetViewingStore; let element: HTMLElement; let showShortcuts = false; + let showSkeleton = true; $: timelineY = element?.scrollTop || 0; @@ -37,6 +38,7 @@ const dispatch = createEventDispatcher<{ select: AssetResponseDto }>(); onMount(async () => { + showSkeleton = false; document.addEventListener('keydown', onKeyboardPress); await assetStore.init(viewport); }); @@ -322,20 +324,21 @@ bind:this={element} on:scroll={handleTimelineScroll} > + + {#if showSkeleton} +