Open
Description
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)
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"