-
Notifications
You must be signed in to change notification settings - Fork 83
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
Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. #32
Comments
What version of react are you using? And what browser |
Cannot read property 'style' of null
i used this overlay but while testing it give this error . Can you help me, how should i resolve it |
@shakti97 your tests are running in an environment that doesn't have a true |
@derrickpelletier I am facing the same error using Since I am using a browser I'd guess I got a true |
@kinothUI I think this may help |
Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
at LoadingOverlayWrapper.componentDidMount (LoadingOverlay.js?a257:94)
at commitLifeCycles (react-dom.development.js?cada:8770)
at commitAllLifeCycles (react-dom.development.js?cada:9946)
at HTMLUnknownElement.callCallback (react-dom.development.js?cada:542)
at Object.invokeGuardedCallbackDev (react-dom.development.js?cada:581)
at invokeGuardedCallback (react-dom.development.js?cada:438)
at commitRoot (react-dom.development.js?cada:10050)
at performWorkOnRoot (react-dom.development.js?cada:11017)
at performWork (react-dom.development.js?cada:10967)
at requestWork (react-dom.development.js?cada:10878)
i am using version "react-loading-overlay": "^1.0.0"
trying to wrap my login component with
but it showing above error message not able to find out where is the exact error to fix.
The text was updated successfully, but these errors were encountered: