Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] a bad warning find , Warning: findDOMNode is deprecated and will be removed in the next major release. #2669

Open
1 task done
bigtree1992 opened this issue Jan 10, 2025 · 0 comments

Comments

@bigtree1992
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

Chat

Semi Version

2.72.0

Current Behavior

Warning: findDOMNode is deprecated and will be removed in the next major release. 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 ReactResizeObserver (http://localhost:5173/node_modules/.vite/deps/@douyinfe_semi-ui.js?v=f6d0c985:65787:5)
at div
at TextArea (http://localhost:5173/node_modules/.vite/deps/@douyinfe_semi-ui.js?v=f6d0c985:97312:5)
at div
at div
at div
at div
at InputBox (http://localhost:5173/node_modules/.vite/deps/@douyinfe_semi-ui.js?v=f6d0c985:159720:5)
at div
at div
at Chat (http://localhost:5173/node_modules/.vite/deps/@douyinfe_semi-ui.js?v=f6d0c985:161033:5)

Expected Behavior

No warning

Steps To Reproduce

1 Use Chat Component in Project

ReproducibleCode

return (<Chat/>)

Environment

- OS: Windows
- browser: Chrome

Anything else?

nothing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant