Changes for fixing #1974
We have changed the Href parameter on the AppBarItem to allow for null valure and make it not-[EditorRequired] anymore.
In the AppBarItem we now check if Href is null. If so, we'll add a class to the AppBarItem indicating it is a local link. We use NavLink internally, so an a is still rendered and an active class is still added. Based on that local class being added, we will remove the CSS that gets applied for 'active' state (i.e remove the accent colored bar)
Changes for fixing #1974 We have changed the
Href
parameter on the AppBarItem to allow fornull
valure and make it not-[EditorRequired]
anymore.In the AppBarItem we now check if
Href
is null. If so, we'll add a class to the AppBarItem indicating it is a local link. We useNavLink
internally, so ana
is still rendered and anactive
class is still added. Based on that local class being added, we will remove the CSS that gets applied for 'active' state (i.e remove the accent colored bar)