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

menu 收缩 hover 会导致 浮层闪一下 #36636

Closed
liuhongcheng1998 opened this issue Jul 21, 2022 · 7 comments · Fixed by #38528
Closed

menu 收缩 hover 会导致 浮层闪一下 #36636

liuhongcheng1998 opened this issue Jul 21, 2022 · 7 comments · Fixed by #38528
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive

Comments

@liuhongcheng1998
Copy link

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 选中最深层菜单
  2. 收缩菜单
  3. hover 到选中菜单
  4. 展开菜单
  5. 收缩菜单

发现 再次收缩会发现浮层闪一下

What is expected?

浮层不显示

What is actually happening?

浮层闪一下

Environment Info
antd 4.21.7
React 17.0.47
System mac
Browser chrome
@zombieJ zombieJ added the 🐛 Bug Ant Design Team had proved that this is a bug. label Jul 21, 2022
@zhangchao828
Copy link

+1

@JarvisArt
Copy link
Contributor

已提交pr react-component/menu#497

@zhangchao828
Copy link

@JarvisArt 没后续了吗,这个问题修复了吗

@JarvisArt
Copy link
Contributor

pr 还没有被合并, @afc163 @zombieJ

@zhengweipx
Copy link

+1 三层后 在展开情况下 选中最深层菜单 会出现popup

@Somethingbear
Copy link

pr 还没有被合并, @afc163 @zombieJ

https://codesandbox.io/s/m4nqeb
this is sample from official site (v4), it can repro another question,

  1. click on submenu
  2. click toggle button to shrink menu
    it will show a submenu abnormally

that also repro in v5 sample
https://codesandbox.io/s/jypcci

@JarvisArt
Copy link
Contributor

@Somethingbear 大概月底发布修复版本
v4: #38876
v5: #38855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants