frontarm / navi

🧭 Declarative, asynchronous routing for React.
https://frontarm.com/navi/
MIT License
2.07k stars 71 forks source link

"Active" prop and "activeStyle" props are broken for Link component #183

Open wojciech-bilicki-oke opened 4 years ago

wojciech-bilicki-oke commented 4 years ago

Setting active prop to true doesn't change how the Link component is being styled. I set up reproduction code here:

https://stackblitz.com/edit/react-6ihweh

Clicking on the link elements doesn't set the active style for them

faroutchris commented 4 years ago

It should be noted that setting activeClassName works in the reproduction code above. So the issue is specifically with the activeStyle prop.