You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c381550
Browse filesBrowse the repository at this point in the historyBrowse files
fix(landing-nav): scroll to top on route change in shared shells (#4676)
* fix(landing-nav): scroll to top on route change in shared shells
* fix(landing-nav): hoist popstate flag to module scope and skip on hash anchors
* fix(landing-nav): use popstate timestamp window so flag self-expires
* fix(landing-nav): use -Infinity sentinel and consume popstate timestamp on use
* fix(landing-nav): skip scroll on initial mount so reload restoration wins
* fix(landing-nav): gate initial-mount skip on document.readyState
* refactor(landing-nav): simplify scroll-to-top to conventional pattern
0 commit comments