-
-
Notifications
You must be signed in to change notification settings - Fork 87
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 when using loadingBox #1065
Comments
This seems to be coming from our use of react-transition-group@^4.2.1 https://github.com/reactjs/react-transition-group This seems to be a known issue, we could try upgrading the library and there's a thread here that perhaps contains a fix we could use: |
penx
added a commit
that referenced
this issue
Apr 8, 2022
penx
added a commit
that referenced
this issue
Apr 8, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've just started using the govuk react components and am currently looking at implementing a LoadingBox. If I try and use state to toggle the loading I get a warning. It works fine, but I would like to find a way to avoid the warning.
Steps to reproduce the behavior:
handlePostData
functionsetLoading(true)
handlePostData
setLoading(false)Expected behavior
Was not expecting an error and haven't been able to figure out a way of silencing it, other than removing StrictMode which I don't want to do.
Screenshots
The text was updated successfully, but these errors were encountered: