Skip to content

Problem with menu closing after clicking on parent. #8

@AndreyKachanov

Description

@AndreyKachanov

After clicking on an item, I need to close the menu. I can do this via the event @item-click. (set collapsed=true).
My parent menu items also contains href: '/...'. I use vueRouterEnabel.
And how do I make it so that when you click on the parent, you can:

  1. Use child menu items (i.e. expand the menu to view children) and be able to use the parent item as a link (href:'') to another page.
  2. It was possible to close the menu after clicking on the parent (meaning following the link href: '/...').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions