40
Views
2
Comments
automatically added active classname while navigating page from one to another
Application Type
Reactive

Hi folks,

So, my issue is when I'm navigating from one page to another page by clicking the sidebar link the active class name is automatically added to the previous link too. As of now, I handling this with the input parameters such as ActiveItem (integer datatype) and ActiveSubItem (integer datatype).

How can we fix this one? Please find the image which tells u what the actual issue is.

Thanks in advance...

2022-10-28 13-20-46
Pedro Rodrigues

Hi, 

I would love to try to help but I got a bit confused there, could you explain it again? Sorry

2022-07-07 18-45-50
Niels Favreau

Can you share the condition that is added on the class property of the containers of both menu items?
Does it only happen with those 2 specific menu items?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.