vue-devui icon indicating copy to clipboard operation
vue-devui copied to clipboard

🐛 [Bug]: notification 多次点击后失效

Open jxhhdx opened this issue 2 years ago • 4 comments

Version

v1.4.1

Vue Version

v1.4.1

Link to minimal reproduction

https://vue-devui.github.io/components/notification/

Step to reproduce

连续且快速点击基本用法按钮多次,直到Notification全部消失之后停止点击。一段时间内(大约二十秒左右),点击基本用法消息标题等按钮没有任何效果

What is expected

希望点击一直有效

What is actually happening

一段时间内按钮失效

Any additional comments (optional)

No response

jxhhdx avatar Dec 29 '22 14:12 jxhhdx

这个bug产生的原因是多次点击,元素定位top越来越大,超出浏览器的可视区域,所以后续点击看起来没有反应。解决办法就是把所有notification组件放进一个外层容器里面,外层容器定位固定top50,隐藏时,销毁notification组件,销毁后,下面的notification就会跟着往上移。

qbh990803 avatar Jan 21 '23 03:01 qbh990803

@kagol 您好,请问可以让我尝试去解决上述的问题吗?

Monster-XU-jesus avatar Dec 04 '23 13:12 Monster-XU-jesus

@kagol 您好,请问可以让我尝试去解决上述的问题吗?

你好,欢迎贡献pr解决问题哦

GreatZPP avatar Dec 05 '23 14:12 GreatZPP

@kagol 您好,请问可以让我尝试去解决上述的问题吗?

你好,欢迎贡献pr解决问题哦

好的,我会尽力尝试去解决😃

Monster-XU-jesus avatar Dec 11 '23 11:12 Monster-XU-jesus