Skip to content

Jumpy sidebar while navigating groups #1350

Answered by fuma-nama
dtbuchholz asked this question in Q&A
Discussion options

You must be logged in to vote

I think you're likely adding the DocsLayout component in a page.tsx, or layout.tsx under the catch-all route. Next.js unmounts them as the route params change, you need to move them to a upper place like app/docs/layout.tsx

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dtbuchholz
Comment options

@fuma-nama
Comment options

@dtbuchholz
Comment options

Answer selected by dtbuchholz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #1349 on February 01, 2025 01:36.