ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

The [bug report] notification component is overwritten when there are multiple consecutive components #19039

Open linjia11lu opened 4 years ago

linjia11lu commented 4 years ago

Element UI version

2.13.0

OS/Browsers version

Google Chrome 76

Vue version

3.0.0-alpha.9

Reproduction Link

https://codepen.io/linjia11lu/pen/gOpBwLY?editable=true

Steps to reproduce

我在代码中,同时使用多个Notification通知,通知位置错误被覆盖, 点击按钮即出现 通知 被覆盖问题重现

What is Expected?

应该正常显示通知

What is actually happening?

实际只能看到一个通知

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.13.0

OS/Browsers version

Google Chrome 76

Vue version

3.0.0-alpha.9

Reproduction Link

https://codepen.io/linjia11lu/pen/gOpBwLY?editable=true

Steps to reproduce

In the code, I use multiple notification notifications at the same time. The notification location error is overwritten. Click the button and the notification overwritten problem reappears

What is Expected?

Notification should be displayed normally

What is actually happening?

Actually, only one notification can be seen

scscms commented 4 years ago

这个不算bug吧,什么情景下会同步发送多个通知?

linjia11lu commented 4 years ago

我在做程序自动执行流程任务时用的,执行每个任务成功或失败通知,继续执行到下一步流程通知,每一步发起通知,通知任务的执行情况跟踪。或许我的情景比较特殊,但通知就不应该发生遮盖,这样确实影响组件的正常使用。

stale[bot] commented 3 years ago

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.