pro-components icon indicating copy to clipboard operation
pro-components copied to clipboard

🐛[BUG] ProFormList findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper4 which is inside StrictMode.

Open leogitpro opened this issue 2 years ago • 7 comments

🐛 bug 描述

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper4 which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node at div

© 版本信息

{ "@ant-design/icons": "^5.2.5", "@ant-design/pro-components": "^2.6.21", "antd": "^5.8.3", "dayjs": "^1.11.9", "lodash": "^4.17.21", "react": "^18.2.0", "react-custom-scrollbars-2": "^4.5.0", "react-dom": "^18.2.0", "react-icons": "^4.10.1", "react-router-dom": "^6.15.0", }

leogitpro avatar Oct 14 '23 14:10 leogitpro

我也是在等修复这个bug啊 #6556

InfernalAzazel avatar Nov 09 '23 07:11 InfernalAzazel

同等 image

Zhu-Yinghua avatar Dec 27 '23 06:12 Zhu-Yinghua

+10086

imsunhao avatar Dec 27 '23 07:12 imsunhao

我也在等修复这个bug,不知道什么时候能修复https://github.com/ant-design/pro-components/issues/6556

WaJueZhe avatar Feb 28 '24 07:02 WaJueZhe

+1 Same problem with ProTable on the latest version.

merabtenei avatar Mar 05 '24 11:03 merabtenei

麻烦修一下把

yf-hk avatar Apr 07 '24 01:04 yf-hk

+1

anuoua avatar May 20 '24 05:05 anuoua