-
Notifications
You must be signed in to change notification settings - Fork 842
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
[EuiDatePicker] findDOMNode is deprecated in StrictMode. in EuiDatePicker #3850
Comments
Checking the code, there seem to be 2 calls to
I guess, here's a problem depending on where/how the
So, I suppose there may be two solutions:
@thompsongl Any hints/ideas how to solve the |
Thanks for digging through the code on this! We use a vendored version of That code relies on |
Haven't explored this at all, but I wonder if the idea suggested in #3476 (use the inline datepicker inside of EuiPopover) would help here. |
Having an overlay with an EuiDatePicker (using formik and yup for form control), I seem to run into issues with
findDOMNode
(when inStrict
mode). Somewhere, depending on the code path, it seems there are still references to DOM Nodes. Can this be fixed?DatePicker.js#L17-27
:ChooseActivityDateForm.js#L89-99
:results in:
The text was updated successfully, but these errors were encountered: