High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): scroll timeline to top when navigating without a scroll target (#31464)
Timon0f901eea5ec2
diff --git a/web/src/lib/components/timeline/Timeline.svelte b/web/src/lib/components/timeline/Timeline.svelteindex a98e2beb89..b2d5d46027 100644--- a/web/src/lib/components/timeline/Timeline.svelte+++ b/web/src/lib/components/timeline/Timeline.svelte@@ -213,8 +213,10 @@if (scrolled && scrollTarget) {await tick();focusAsset(scrollTarget);- } else {+ } else if (scrollTarget) {timelineManager.scrollTo(lastVisibleScrollTop);+ } else {+ timelineManager.scrollTo(0);}invisible = false;