Skip to content

Can I add selected class to nav items based on path name? #341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ivanapantazi opened this issue Sep 11, 2020 · 1 comment
Closed

Can I add selected class to nav items based on path name? #341

ivanapantazi opened this issue Sep 11, 2020 · 1 comment

Comments

@ivanapantazi
Copy link

Hi, can someone please help me on this? I have set rc-menu and everything is working fine but when I click links that are not on the menu of course the menu doesn't get highlighted. Can I make the menu items to get highlighted based on the current route? Your help is much appreciated.

@boldevelop
Copy link

@ivanapantazi Hi, can you add codesmaple?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants