This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
CMenu props "autoSelect" set false is not working #518
Open
Description
Describe the bug
CMenu props "autoSelect" set false is not working
To Reproduce
- create menu (auto-select = false)
<CMenu :auto-select="false">
<CMenuButton>Menu</CMenuButton>
<CMenuList>
<CMenuItem>Menu A<CMenuItem>
<CMenuItem>Menu B<CMenuItem>
<CMenuItem>Menu C<CMenuItem>
<CMenuItem>Menu D<CMenuItem>
</CMenuList>
</CMenu>
-
click menu button
-
see error
TypeError: openMenu is not a function
Expected behavior
- open menu
- menu item is not selected
Solution
I think add "openMenu" in MenuContext of CMenu
Metadata
Metadata
Assignees
Labels
No labels