Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on-selected never get out the active on root menu #29

Open
Patfreeze opened this issue Apr 28, 2021 · 0 comments
Open

on-selected never get out the active on root menu #29

Patfreeze opened this issue Apr 28, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Patfreeze
Copy link

Patfreeze commented Apr 28, 2021

Describe the bug
The "on-selected" props never get out the active on root menu but just the div below.

To Reproduce
Steps to reproduce the behavior:

I bind the methods on the "on-select" and also the menu items:

  <dock-menu :items="items" :on-selected="selected"></dock-menu>

In my method I just route to another place

  methods: {
    selected(item) {
      router.push(item.name);
    },
  },

The menu close but but root "Menu" stay active. I need to click twice to re-open the "Menu" path (image below)
image

Expected behavior
After the "on-selected" is call the root menu can be accessible in one click

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version 90.0.4430.93 (Build officiel) (64 bits)

edit: Version of "vue-dock-menu": "^1.0.3"

@prabhuignoto prabhuignoto self-assigned this May 14, 2021
@prabhuignoto prabhuignoto added the bug Something isn't working label May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants