-
Notifications
You must be signed in to change notification settings - Fork 47
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
全局水印与其它遮罩层冲突 #129
Labels
🐛 Bug
Something isn't working
Comments
我看下 |
@daxiaraoming 提供下最小复现包吧 |
|
react 版本也有同样的问题,demo |
所以这个问题目前还是未解之谜吗?把 monitor 设置为 false 后,遮罩层不冲突了,界面不卡了,疫情也解封了嗨 |
qiubohong
pushed a commit
to qiubohong/watermark
that referenced
this issue
Dec 28, 2022
将MutationObserver触发事件,避免多次执行render函数,导致多次注册MutationObserver 从而进入死循环逻辑 Issue pansyjs#129 Close pansyjs#129
实测,el-dialog嵌套2个,依次关闭后就会出现页面卡死 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
vue版本使用全局水印
:is-body="true"
并且开启保护模式的情况下,触发带遮罩的事件就会导致页面无响应,且无法恢复;带遮罩的事件如对话框弹窗/图片点击放大;
测试后发现关闭保护模式
watermark.options.monitor = false
,或者不使用全局水印没有出现该问题;复现步骤
触发任意带遮罩效果
环境详情
@pansy/vue-watermark
version:1.1.3vue
version:3.2.36The text was updated successfully, but these errors were encountered: