This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Repository navigation
Reason Why Navigation not showing active #4472
Answered
by
coderchef26
coderchef26
asked this question in
Help and support
|
I have the following code base: I import the navigation in my AppLayout.. However the navigation doesnot show active for the specific URL. Below is my route using react-router-dom v6 |
Answered by
coderchef26
Nov 26, 2024
Replies: 1 comment 4 replies
|
We might be able to better investigate if you created a minimal reproduction on CodeSandbox; till then, perhaps the issue lies in the way you are structuring the browser router object - can you try closely following the integration docs and see if it works? |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



@bharatkashyap I had to reinstall react-router-dom v6 as I removed it and installed the new version react-router v7. The navigation works now.