alpertuna / react-metismenu-router-link

Router link extension for `react-metismenu` menu component.
https://www.npmjs.com/package/react-metismenu-router-link
MIT License
8 stars 14 forks source link

Need to click on menu twice before the active menu gets updated #9

Closed VRspace4 closed 7 years ago

VRspace4 commented 7 years ago

Hi, everything appears to work fine except that I have to click on the menu link twice before the selected menu item turns visually active. The first click, however, does successfully change the route to the correct component.

Any idea as to why this is happening and how I could resolve this? Thanks in advance!