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

[Component] [menu, menu-item] Menu开启省略多余子项的问题,页面高度不够时,多余子项一直重复打开关闭,在页面上闪烁 #15308

Closed
slient7 opened this issue Dec 29, 2023 · 0 comments

Comments

@slient7
Copy link

slient7 commented Dec 29, 2023

Bug Type: Component

Environment

  • Vue Version: 3.3.11
  • Element Plus Version: 2.4.4
  • Browser / OS: UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
  • Build Tool: Vite

Reproduction

Related Component

  • el-menu
  • el-menu-item

Reproduction Link

Element Plus Playground

Steps to reproduce

鼠标放到省略号上面

What is Expected?

1、打开省略多余子项时,多余子项大于页面可视高度时,可以自适应窗口的高度,多余的内容能在class="el-menu--horizontal el-menu--popup-container"里面滚动;
2、可以给省略多余子项最上层的class="el-popper is-pure is-light"自定义添加样式名;

What is actually happening?

打开省略多余子项,页面高度不够时,导致多余子项一直在打开关闭,在页面上闪烁

Additional comments

(empty)

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

No branches or pull requests

2 participants