-
Notifications
You must be signed in to change notification settings - Fork 671
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
antd proV5引入DonutChart后切换路由报错:Failed to execute 'unobserve' on 'ResizeObserver' #1365
Comments
@Elric-H 我也遇到了 有解决方案么 |
I get the same error on all kinds of charts, so it's not just DonutChart. I think this issue is introduced with the 4.1.6 version, I'm downgrading to 4.1.5 now to check. edit: Confirming that we're not getting this error on version 4.1.5. |
@smddzcy i find one reason and i make a pull request before your comment. i will check what happened after v3.1.5 |
@qiwang97 sorry, I actually meant "4.1.5". This whole block of code was added in 4.1.6, so that's what happened after 4.1.5 😄 Your fix looks good to me, let's hope that it gets merged quickly. |
|
目前还没解决方案,实在不行只有换回3.4.0了... |
fix(DonutChart): fix unobserve error #1365
pr 已发布 4.1.7 |
BizCharts Version:4.1.6
react Version:17.0.0
是不是因为DonutChart组件内没有清理 resizeObserver?
The text was updated successfully, but these errors were encountered: