You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No mistake. The correct title for this issue would be: NavLink activeClassName appears before className.
So, I'll change the title. The PR still open in case you want to merge and set the active-class-name to the end (which corresponds with the right order in which default and active classes must be declare in css)
carloluis
changed the title
NavLink activeClassName has less priority than className
NavLink activeClassName appears before className
May 12, 2017
Version
4.1.1
Test Case
https://codepen.io/carloluis/pen/gWzPzd
Steps to reproduce
normal
andactive
classes have at least one property in commonExpected Behavior
active navigation link should have set all the active class properties
Actual Behavior
common properties are resolved with normal class values
The text was updated successfully, but these errors were encountered: