Skip to content

Commit 58f9659

Browse files
authored
fix: blank page on assetviewer to timeline (regression) (immich-app#23073)
1 parent e14d5fb commit 58f9659

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

web/src/lib/components/timeline/Timeline.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@
154154
155155
// If the asset is already visible, then don't scroll.
156156
if (assetIsVisible(height)) {
157+
// need to update window positions/intersections because since the <Portal>
158+
// went from invisible to visible
159+
timelineManager.updateSlidingWindow();
157160
return true;
158161
}
159162

0 commit comments

Comments
 (0)