We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.4.2
window
https://github.com/vueComponent/ant-design-vue/blob/master/components/menu/demo/SubMenu.vue
根据路由使用SubMenu.vue生成顶部菜单,点击父级菜单项,子级菜单会收起(隐藏),而使用SubMenu1.vue生成的菜单则不会有这样的问题,
点击父级菜单项,子级菜单应该显示,而不是隐藏;
点击父级菜单项,子级列表隐藏,这是不应该的;
The text was updated successfully, but these errors were encountered:
确实会有这个bug,当menu的模式选为horizontal时,函数式组件生成的<li>元素,多出了一个click监听器。 这个监听器会导致一点击展开的子菜单,子菜单就会收起来,而非正确的展示孙菜单。
<li>
Sorry, something went wrong.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Version
1.4.2
Environment
window
Reproduction link
https://github.com/vueComponent/ant-design-vue/blob/master/components/menu/demo/SubMenu.vue
Steps to reproduce
根据路由使用SubMenu.vue生成顶部菜单,点击父级菜单项,子级菜单会收起(隐藏),而使用SubMenu1.vue生成的菜单则不会有这样的问题,
What is expected?
点击父级菜单项,子级菜单应该显示,而不是隐藏;
What is actually happening?
点击父级菜单项,子级列表隐藏,这是不应该的;
The text was updated successfully, but these errors were encountered: