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

el-dialog出现一个异常的现象,灰色遮罩层? #22961

Open
wangkris03 opened this issue Sep 9, 2024 · 0 comments
Open

el-dialog出现一个异常的现象,灰色遮罩层? #22961

wangkris03 opened this issue Sep 9, 2024 · 0 comments

Comments

@wangkris03
Copy link

看element-ui弹窗逻辑,当弹窗class="el-dialog__wrapper" 出现显示弹窗时,会设置style的z-index自增如2390,并在同节点层级插入遮罩层节点class="v-modal"且设置z-index是弹窗减1,则z-index:2389。

异常问题:当所有的弹窗没有被打开时,出现一个异常的遮罩层,并z-index的值也是异常的2375。

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

No branches or pull requests

1 participant