fix(web): scroll timeline to top when navigating without a scroll target (#31464)
This commit is contained in:
@@ -213,8 +213,10 @@
|
||||
if (scrolled && scrollTarget) {
|
||||
await tick();
|
||||
focusAsset(scrollTarget);
|
||||
} else {
|
||||
} else if (scrollTarget) {
|
||||
timelineManager.scrollTo(lastVisibleScrollTop);
|
||||
} else {
|
||||
timelineManager.scrollTo(0);
|
||||
}
|
||||
|
||||
invisible = false;
|
||||
|
||||
Reference in New Issue
Block a user