element [Bug Report] el-select dropdown 的 z-index 增加2每次点击的时候

3phpmpom  于 2022-11-13  发布在  其他
关注(0)|答案(2)|浏览(157)

Element UI version

2.13.2

OS/Browsers version

Mac os

Vue version

2.6.7

https://codepen.io/pgclrqvj/pen/eYdmZEp

Steps to reproduce

  1. 点击el-select。
  2. 用chrome的调试工具,看一看有class="el-select-dropdown el-popper"的元素。
  3. 它的z-index增加2每次点击的时候。
  4. click el-select.
  5. with chrome developer's tool, inspect element with "el-select-dropdown el-popper" class.
  6. see its z-index increaes 2 whenever gets clicked.

What is Expected?

dropdown menu还原的时候z-index也要还原。

when dropdown menu get closed, increased z-index should be decrease so that it would be the same as before clicked.

What is actually happening?

有class="el-select-dropdown el-popper"的元素的z-index继续增加。

z-index of the element with "el-select-dropdown el-popper" class increases 2, never decreases.

hgqdbh6s

hgqdbh6s1#

你完全没get到z-index增加的意义

svujldwt

svujldwt2#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题