Skip to content

RadzenPanelMenu subitem marked as active also after navigation with parent collapse #2234

@Anspitzen

Description

@Anspitzen

Describe the bug
When navigating from child item to parent on a RadzenPanelMenuItem the child is also marked as active page when opening parent tree with arrow again

To Reproduce
Steps to reproduce the behavior:

  • PanelMenu on MainLayout
  • Parent Item has a page associated
  • Parent Item is expanded
  • You Navigate to the child item
  • Click on Parent (which will navigate to parent and collapse parent)
  • Expand Parent again with the arrow

Expected behavior
Only current active NavLink is marked as active, not previous child page also

Desktop (please complete the following information):

  • Browser chrome

Additional context
Only happens when following above order.
Active is also removed when opening the menu with another click on the parent PanelMenuItem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions