Skip to content
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

Programmatically set the selected NavItem #68

Open
GiambaFr opened this issue Jun 26, 2020 · 2 comments
Open

Programmatically set the selected NavItem #68

GiambaFr opened this issue Jun 26, 2020 · 2 comments

Comments

@GiambaFr
Copy link

Can you provide a function to set the selected NavItem from Nav or SideNav's element to set "active" the right one, even if the user either enters the pathname himself or does history.back()?

Two NavItem can be active when doing:

** {t('Home')} {t('Personal informations')}

Thanks

@Liam-OShea
Copy link

Were you able to find a solution to this @GiambaFr ?

@GiambaFr
Copy link
Author

GiambaFr commented Apr 29, 2021

No, I've played with it a few hours to finaly figure out it was not the lib I was looking for. It was not open enough for the uses I needed to complete my project. So I moved to React.Router and I build it myself.

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