-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
ResizeObserver loop limit exceeded #26621
Comments
This comment has been minimized.
This comment has been minimized.
Seems error has gone after refactor of |
hi @zombieJ, is there any eta when those refactorings would make into release? |
1 similar comment
hi @zombieJ, is there any eta when those refactorings would make into release? |
@makarov-roman remove your lock file and reinstall. |
@zombieJ Remove lock file is not a good solution. |
antd(v 4.16.9)中,还存在题主说的问题呢。例子:https://codesandbox.io/s/4ovng?file=/src/index.js |
Please reopen. As @nigulasikk shows this is still an issue |
For completeness, the message text in Firefox and Safari reads:
Is Chrome at all only |
will this bug be fixed? |
2 similar comments
will this bug be fixed? |
will this bug be fixed? |
mark |
Error comes out when clicking Select input |
|
Hello @RickLucassen. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please send your Pull Request to proper branch (feature branch for the new feature, master for bugfix and other changes), fill the Pull Request Template here, provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! 你好 @RickLucassen,我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请将 Pull Request 发到正确的分支(新特性发到 feature 分支,其他发到 master 分支),务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、TypeScript 定义、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。 |
Any update on this? |
So, what's the solution? |
This error happens in different components since version 4.x, this issue is 3 years old and it seems it should have more attention. To me it happens when you have an icon on a menu item. |
Any update , tired of it in debug |
I'm being stucked with this issue, anyone have the solution? 🙏🏿🙏🏿🙏🏿 |
It is caused by In my project, there are multiple versions of
Every component using Between version I was only able to catch this error with |
Any one provide a new reproduce link can catch the error? Please! |
Is the error, which can only be caught by Note: This looping error has caused a DDOS attack to our error reporting system. |
still have some problem "antd": "^4.21.7", |
adding a fixed width or max-size worked for me. |
In my case, Not sure why I added this setting in the first place, and the page didn't show any difference after the removal of the setting, the document also didn't describe |
hi, what component is this, and is it ok if you provide the code example, it will help lots people here |
I remove yarn.lock and upgrade react, ant, react scripts and works for me. |
antd (v 4.24.9) 依然有 |
i get this bug on table after update antd to v5.9.1 |
This is by no means a fix, but I was able to temporarily avoid this error by setting a fixed Current versions:
|
you are right |
Facing the same problem "antd": "5.9.0", Table and Modal component giving issue import React from 'react'; const MyTable = ({ dataSource, columns, rowKey="id" ,defaultPageSize=10}) => { export default MyTable; Works if use Table without scroll={{ x: 'max-content' }} or size="small" |
遇到了同样的问题,希望能够得到修复 |
I was having the issue const CustomTable = ({ loading, dataSoure }) => {
const [canScroll, setCanScroll] = useState(false);
useEffect(() => {
if (!loading && !!dataSource) {
setCanScroll(true);
}
}, [loading, dataSource]);
const scroll = canScroll
? {
x: 'max-content',
}
: undefined;
return <Table scroll={scroll} loading={loading} dataSource={dataSource} />;
} Basically, only set the |
I faced the same issue with the Table and the Popover component: I had a Popover inside a row of a table and when the Popover text was too long for the page size, the error appeared. versions:
|
我也碰到过,暂时用style={{marginBottom:'20px',overflowX:"auto",whiteSpace: 'nowrap'}} 可以实现滚动 |
From Webpack docs, I've found a way to suppress only this message.
|
if anyone catch this issue logged by sentry: |
I have the same issue while using Cascader component. It happens when I click on the 2nd level of the tree. ResizeObserver loop completed with undelivered notifications. |
Used Ant-d Version: 4.24.16 I'm facing the same issue when, But when I removed x: '720px' from the scroll object, problem got fixed. I think, I have used as per the documentation only. But it was started throwing Error as [Note: This issue is also coming when table columns are changing on toggle] |
Reproduction link
Steps to reproduce
What is expected?
For the error not to be generated
What is actually happening?
Opening any kind of widget (dropdown) generates this error.
The text was updated successfully, but these errors were encountered: