DouyinFE / semi-design

🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 3000+ Design Tokens, easy to build your design system. Make Semi Design to Any Design. 🧑🏻‍💻 Design to Code in one click
https://semi.design
Other
8.45k stars 713 forks source link

[BUG] Chat组件Uncaught runtime errors:ResizeObserver #2384

Open algfwq opened 3 months ago

algfwq commented 3 months ago

Is there an existing issue for this?

Which Component

Chat

Semi Version

2.63.1

Current Behavior

运行官网的演示代码,出现的报错: Uncaught runtime errors: × ERROR ResizeObserver loop completed with undelivered notifications. at handleError (http://localhost:3000/static/js/bundle.js:199272:58) at http://localhost:3000/static/js/bundle.js:199291:7 屏幕截图 2024-07-29 215705

Expected Behavior

不显示该报错

Steps To Reproduce

运行官网演示代码

ReproducibleCode

No response

Environment

- OS:Windows11 24H2
- browser:Edge 127.0.2651.74

Anything else?

[eslint] src\Chat.js Line 2:16: 'Radio' is defined but never used no-unused-vars Line 75:28: React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies? react-hooks/exhaustive-deps

Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before.

WARNING in [eslint] src\Chat.js Line 2:16: 'Radio' is defined but never used no-unused-vars Line 75:28: React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies? react-hooks/exhaustive-deps

webpack compiled with 1 warning

YyumeiZhang commented 3 months ago

我这边官网没有复现你的问题。给个 codesandbox 复现示例?录屏看看详细复现路径

algfwq commented 3 months ago

我这边官网没有复现你的问题。给个 codesandbox 复现示例?录屏看看详细复现路径

代码仓库:https://github.com/algfwq/Semi_worry Codesandbox:https://codesandbox.io/p/github/algfwq/Semi_worry/master?import=true

algfwq commented 3 months ago

我这边官网没有复现你的问题。给个 codesandbox 复现示例?录屏看看详细复现路径

录屏链接:https://www.123pan.com/s/KIfoTd-3LQ0d.html

algfwq commented 3 months ago

我这边官网没有复现你的问题。给个 codesandbox 复现示例?录屏看看详细复现路径

请尝试拨动选项卡 image