Skip to content

fix: Active class css in FluentNavLink and FluentNavGroup with click callbacks #3992

@Tyme-Bleyaert

Description

@Tyme-Bleyaert

🐛 Bug Report

When using either FluentNavLink or FluentNavGroup when also using OnClick event callback, the active css class is not applied.

🤔 Expected Behavior

When clicking a link we should still see which page we are on.

😯 Current Behavior

Currently when you have an eventcallback for example closing an hamburger menu, the active class css is ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions