RadzenMenuItem - no control over underlying Match option of NavLink

Hello,

I have menus (rendered by RadzenMenu and RadzenMenuItem) with following paths:

  • "/"
    -"/accounts"
    -"/settings"

No matter which of these 3 I visit, the home link is always having the CSS class "active", just like the actual visited link.
I saw in the repository that these menus are NavLink components (Blazor built-in). From Blazor docs:

image

In the repository I see that the NavLinks are being rendered with the default value for this. I need to set it to NavLinkMatch.All, but it seems to me that it's not possible through RadzenMenuItem.

1 Like