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

谷歌标签页休眠导致maxCount属性失效 #305

Open
mode365Dong opened this issue Jul 4, 2023 · 0 comments
Open

谷歌标签页休眠导致maxCount属性失效 #305

mode365Dong opened this issue Jul 4, 2023 · 0 comments

Comments

@mode365Dong
Copy link

  • 配置maxCount为1;
  • 编写轮序每秒调用一次message;
  • 当前页面message执行正确,每次仅存在一个message;
  • 切换浏览器标签页面,等待5+秒;
  • 返回浏览器标签页面,message存在5+个。
    代码在路径/rc-notification/es/Notification.js line56
    如果是切换浏览器标签页面的话,我认为此时notices的值并不可靠。
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