element-plus icon indicating copy to clipboard operation
element-plus copied to clipboard

[Style] [select] el-select的下拉框遮挡问题

Open lichaodan opened this issue 1 year ago • 1 comments

Bug Type: Style

Environment

  • Vue Version: 3.5.10
  • Element Plus Version: 2.6.0
  • Browser / OS: Chrome/134.0.0.0
  • Build Tool: Vite

Reproduction

Related Component

  • el-select

Reproduction Link

Docs

Steps to reproduce

点击选择下拉框不收起来,滑动页面它会挡住页头,你官网的也是

What is Expected?

不挡住页头

What is actually happening?

挡住页头

Additional comments

(empty)

Image

lichaodan avatar Mar 23 '25 08:03 lichaodan

使用 Config Provider 将 zIndex 设得远比顶栏低或将顶栏 zIndex 设得远比框架默认的 2000 高均可解决 Image

comp-squirrel avatar Mar 24 '25 01:03 comp-squirrel