Reproduction link
https:www.alipay.com/pleasetryyourself
Steps to reproduce
添加组件即报错
What is expected?
组件正常使用
What is actually happening?
Uncaught TypeError: Cannot read properties of undefined (reading 'children')
at findExistNode (dynamicCSS.js:62:49)
at removeCSS (dynamicCSS.js:71:19)
at useScrollLocker.js:25:7
at commitHookEffectListMount (react-dom.development.js:20573:26)
at commitLifeCycles (react-dom.development.js:20634:11)
at commitLayoutEffects (react-dom.development.js:23426:7)
at HTMLUnknownElement.callCallback2 (react-dom.development.js:3945:14)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994:16)
at invokeGuardedCallback (react-dom.development.js:4056:31)
at commitRootImpl (react-dom.development.js:23151:9)
Environment | Info |
---|---|
antd | 4.24.0 |
React | 17 |
System | mac os |
Browser | chrome 106 |
2条答案
按热度按时间balp4ylt1#
You may look for issues:
🤖 By issues-similarity-analysis
lnvxswe22#
Hello @DanielWLam. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by
Need Reproduce
will be closed if no activities in 3 days.你好 @DanielWLam, 我们需要你提供一个在线的重现示例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。3 天内未跟进此 issue 将会被自动关闭。