element-plus
element-plus copied to clipboard
[Style] [select] el-select的下拉框遮挡问题
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
Steps to reproduce
点击选择下拉框不收起来,滑动页面它会挡住页头,你官网的也是
What is Expected?
不挡住页头
What is actually happening?
挡住页头
Additional comments
(empty)
使用 Config Provider 将 zIndex 设得远比顶栏低或将顶栏 zIndex 设得远比框架默认的 2000 高均可解决