I originally submitted this issue at reach/reach-ui#469, which uses your library as a dependency in their Dialog component.
react-remove-scroll has a dependency called react-style-singleton, of which you are also the author.
My understanding is react-style-singleton creates and modifies inline style tags after application mount. This is somewhat unsafe and if you are using a Content Security Policy (CSP), I don't think there is any way for this library to work as expected without allowing style-src 'unsafe-inline'.
Here is the trace from my CSP error:

I may be completely missing a secure way to handle this problem.
Thoughts?
Cheers.