Not too familiar with react router, but I need the functionality of the NavLink to set the active class on the parent li element, and not the a ele
li
a
I found that by using CSS you can make the active link expand to fill up it's parent element by setting display:block; in the active class.
display:block;
For example if our link was:
Overview
then our CSS would be:
&__sideLinkSelected { background-color: blue; display:block; }