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
When navigating between pages using the sidebar, if the target sidebar item is outside the currently visible area, the sidebar resets its entire state instead of focusing/scrolling the active SidebarItem into view.
Interestingly, this only happens during client-side navigation. The sidebar behaves correctly when the URL is opened in a new tab or when the link is opened normally.
Reproduction
Scroll the sidebar so that the target SidebarItem is outside the visible area.
Click a sidebar link to navigate to that page.
Observe that the sidebar resets its state instead of scrolling the active SidebarItem into view.
Environment
nimbus-docs official website
Proposed fix (optional)
Cases that work correctly. The sidebar correctly focuses the active SidebarItem when:
Copying the URL and opening it in a new tab.
Opening the link normally.
Loading the page directly.
There should be some logic here to trigger it again or handle the transition.
CleanShot.2026-08-13.at.18.13.58-converted.mp4
What's wrong
When navigating between pages using the sidebar, if the target sidebar item is outside the currently visible area, the sidebar resets its entire state instead of focusing/scrolling the active SidebarItem into view.
Interestingly, this only happens during client-side navigation. The sidebar behaves correctly when the URL is opened in a new tab or when the link is opened normally.
Reproduction
Environment
nimbus-docs official website
Proposed fix (optional)
Cases that work correctly. The sidebar correctly focuses the active SidebarItem when:
There should be some logic here to trigger it again or handle the transition.