-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
FindDomNode warning with react strict mode #1890
Comments
Have the same issue when using |
I get the same issue when using showMonthDropdown and showYearDropdown |
Any updates on this? |
same, using showYearDropdown with react-hook-form and customInput |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not really a bug but when using react in strict mode a warning appears linked to OutsideClickHandler :
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of r which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
To Reproduce
Run react in strict mode and use
calendarContainer
propExpected behavior
I think this can be solved with this Pomax/react-onclickoutside#319
Thank you
The text was updated successfully, but these errors were encountered: