react-loading-overlay
react-loading-overlay copied to clipboard
Loading overlays with fade, spinner, message support.
I'm sure I could work around this, but npm is complaining about this module while I'm trying to upgrade my project to react 17.
If the document is longer than the viewport, the spinner can only be seen when the middle of the document is scrolled into view. I would have expected the overlay...
…Types raw warning: Failed prop type: LoadingOverlayWrapper: prop type 'styles.content' is invalid; it must be a function, usually from the 'prop-types' package, but received 'undefined' fixes the issue: https://github.com/derrickpelletier/react-loading-overlay/issues/56
I did not find `styles.content` in my usage, so something from the package?
path-parse has a dependency in version 1.0.6: https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067  A fix would be to upgrade react-loading-overlay to the new version of emotion(https://www.npmjs.com/package/emotion) which doesn't depend on anything.

tackling #39, here's my attempt to use this library with typescript. I'm sure it's not perfectly typed since I'm not too familiar with the codebase but it works :) Would...
added react 17 for peerDependencies
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)...