ant-design drawer Cannot read properties of undefined (reading 'children')

g0czyy6m  于 2022-11-05  发布在  其他
关注(0)|答案(2)|浏览(477)

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)

EnvironmentInfo
antd4.24.0
React17
Systemmac os
Browserchrome 106
lnvxswe2

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 将会被自动关闭。

相关问题