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

menuProps: { mode: 'vertical', },模式下,二级菜单打开页面时,弹窗会再次弹出。有没有解决方法 #659

Open
980447634 opened this issue Jul 10, 2024 · 3 comments

Comments

@980447634
Copy link

980447634 commented Jul 10, 2024

复现:首先是菜单栏Settings配置成
menuProps: {
mode: 'vertical',
},
然后打开两个菜单,切回一个菜单的时候,这个二级菜单会自动弹出来

image

@980447634
Copy link
Author

这个弹出会一直固定在里,除非你鼠标再移入菜单栏

@xiaohuoni
Copy link
Member

这是啥?pro-layout 的问题?

@980447634
Copy link
Author

这是啥?pro-layout 的问题?

在使用tabs多标签配置之后,在config.ts中,将菜单栏改为如图所示悬浮状,然后打开两个二级菜单栏之后,按正常来说,二级菜单栏是关闭悬浮的,对不? ,然后我在tabs:
image
这两个上门做切换,切换之后,菜单悬浮自动就打开了,并且我的菜单是通过antd pro配置的,没有自定义

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants