fix(web): scroll timeline to top when navigating without a scroll target (#31464)

This commit is contained in:
Timon
2026-09-12 09:25:38 -05:00
committed by GitHub
parent 7abd625af3
commit 0f901eea5e
@@ -213,8 +213,10 @@
if (scrolled && scrollTarget) {
await tick();
focusAsset(scrollTarget);
} else {
} else if (scrollTarget) {
timelineManager.scrollTo(lastVisibleScrollTop);
} else {
timelineManager.scrollTo(0);
}
invisible = false;