侧边栏壁纸
  • 累计撰写 27 篇文章
  • 累计创建 42 个标签
  • 累计收到 34 条评论

目 录CONTENT

文章目录

前端BUG:Resizeobserver loop completed with undelivered notifications.

miykah
2023-10-10 / 0 评论 / 0 点赞 / 265 阅读 / 1427 字 / 正在检测是否收录...
温馨提示:
本文最后更新于 2023-12-11,若内容或图片失效,请留言反馈。部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

前端BUG:Resizeobserver loop completed with undelivered notifications.

前端项目(vue-cli/vue3/Acro Design)页面使用鼠标滚轮放大时,会发生izeobserver loop completed with undelivered notifications.错误

image-20231010153307371

当我在页面使用滚轮放大的时候,遇到ResizeObserver loop completed with undelivered notifications.错误。不知道啥原因。

解决方案

https://stackoverflow.com/questions/76187282/react-resizeobserver-loop-completed-with-undelivered-notifications

  1. 创建一个全局css文件

image-20231010153455443

iframe#webpack-dev-server-client-overlay {
    display: none !important
}
  1. main.ts 中导入

import "./assets/index.css";

解决问题!

0

评论区