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

bug(dialog): 当打开页面时dialog v-model的默认值为true时, zindex异常 #594

Open
terlinhe opened this issue Nov 1, 2024 · 0 comments
Assignees

Comments

@terlinhe
Copy link
Contributor

terlinhe commented Nov 1, 2024

打开页面, 若dialog默认显示时, 此时遮罩的样式不生效, 且dialog外层的zindex为0, dialog就可能被其它zindex层级高的元素遮挡, 但此时由于遮罩仍然存在, 就会导致整个页面无法点击

image

可尝试修改: 当计算的zindex为0时, 返回一个相对较大的zindex默认值, 不要返回0

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

2 participants