focus not reset when route changed #65231
Unanswered
BinarySenseiii
asked this question in
Help
Replies: 1 comment 2 replies
-
It's caused by having the top navigation in the layout.tsx Put the navigation from layout.tsx to page.tsx and it will work on route change. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
RecordedVideo.3.webm
i've noticed an issue with focus management during route changes. Upon the initial load, the focus correctly skips to the main navigation content, which is the desired behavior. However, when navigating between routes subsequently, the focus doesn't reset to the expected top-level component, causing it to miss out entirely
here is the live deployed Version
can someone guide how to fix
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions