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
[HUD] Fix SLI page scroll reset and navigation hijacking (#6945)
Fix SLI page navigation and scroll issues
This PR fixes two issues on the /sli page:
1. Scroll position was locked at the top of the page
2. Navigation hijacking: Clicking navbar links would briefly navigate
away but then immediately return to /sli
Changes:
- Added shallow: true to router.push() to prevent full page re-renders
when updating URL parameters
- Added pathname check to prevent the useEffect from running when
navigating away from the page
0 commit comments