You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
报错:Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here:
Environment
Info
antd
5.16.2
React
18.2.0
System
Mac Pro M2
Browser
Chrome
The text was updated successfully, but these errors were encountered:
Reproduction link
Steps to reproduce
https://stackblitz.com/edit/react-jg4mye?file=index.tsx,demo.tsx
What is expected?
不报错
What is actually happening?
报错:Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of DomWrapper which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here:
The text was updated successfully, but these errors were encountered: