fix(desktop): Discover page shakes when switching tabs (#4724)
This commit is contained in:
@@ -111,6 +111,7 @@ function SubviewLayoutInner() {
|
||||
location.pathname === Routes.Discover &&
|
||||
scrollRef
|
||||
) {
|
||||
if (scrollRef.scrollTop === 0) return
|
||||
springScrollTo(0, scrollRef)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user