ant-design collapsed menu: findDOMNode was passed an instance of Trigger which is inside StrictMode

gmxoilav  于 2022-11-19  发布在  其他
关注(0)|答案(2)|浏览(146)

Steps to reproduce

Hover over the icon in the reproduction link

What is expected?

No findDOMNode error in the console

What is actually happening?

in the console: "findDOMNode was passed an instance of Trigger which is inside StrictMode"

EnvironmentInfo
antd4.20.2
React18.1.0
SystemWindows
BrowserChrome 100

相关问题