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] findDOMNode is deprecated in StrictMode #121

Open
kamzata opened this issue Mar 22, 2022 · 2 comments
Open

[BUG] findDOMNode is deprecated in StrictMode #121

kamzata opened this issue Mar 22, 2022 · 2 comments

Comments

@kamzata
Copy link

kamzata commented Mar 22, 2022

Describe the bug

Error message on console loading Paypal button inside a MUI v5 modal window:

Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of n 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

To Reproduce

No errors in console

Screenshots

image

Desktop (please complete the following information):

  • OS: [e.g. iOS] MacOS 12.3
  • Browser: [e.g. chrome, safari] Chrome 99.0.4844.74
  • React Version: [e.g. 22] 17.0.2
@JoanMilano
Copy link

facing the same issue, havnt been able to solve it via tweaking versions, cant find the findDOMNode component. Were you able to find a solution?

@vignyl
Copy link

vignyl commented Sep 25, 2024

i have the same issue. but no solution

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

3 participants