Skip to content

High performance self-hosted photo and video management solution.

fix: blank page on assetviewer to timeline (regression) (#23073)

Min Idzelis58f9659cf6a1
diff --git a/web/src/lib/components/timeline/Timeline.svelte b/web/src/lib/components/timeline/Timeline.svelte
index 76f360a8c0..f94926ab26 100644
--- a/web/src/lib/components/timeline/Timeline.svelte
+++ b/web/src/lib/components/timeline/Timeline.svelte
@@ -154,6 +154,9 @@
// If the asset is already visible, then don't scroll.
if (assetIsVisible(height)) {
+ // need to update window positions/intersections because since the <Portal>
+ // went from invisible to visible
+ timelineManager.updateSlidingWindow();
return true;
}