fix(desktop): Discover page shakes when switching tabs (#4724)

This commit is contained in:
Kieran Cui
2025-11-18 01:17:14 +08:00
committed by GitHub
parent c7d0165eb8
commit 576c92acf6
@@ -111,6 +111,7 @@ function SubviewLayoutInner() {
location.pathname === Routes.Discover &&
scrollRef
) {
if (scrollRef.scrollTop === 0) return
springScrollTo(0, scrollRef)
}