Reason Why Navigation not showing active #4472
Answered
by
gazi786
gazi786
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
|
Beta Was this translation helpful? Give feedback.
Answered by
gazi786
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? |
Beta Was this translation helpful? Give feedback.
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.