The react-draggable library adds a <style> tag to the with just a couple of CSS style rules in it. This is the style tag with id = react-draggable-style-el. It is only added once per page load.
We get a CSP error saying that the browser refuses to apply an inline style because it violates the CSP policy.
Reference - https://content-security-policy.com/

React-draggable version 3.1.1
Tried upgrading to latest version of both React-Draggable and react-grid-layout but there is no support for strict CSP.
Fix can be by providing nonce variable support like many other libraries. Or not use inline style.
The react-draggable library adds a <style> tag to the with just a couple of CSS style rules in it. This is the style tag with id = react-draggable-style-el. It is only added once per page load.
We get a CSP error saying that the browser refuses to apply an inline style because it violates the CSP policy.
Reference - https://content-security-policy.com/
React-draggable version 3.1.1
Tried upgrading to latest version of both React-Draggable and react-grid-layout but there is no support for strict CSP.
Fix can be by providing nonce variable support like many other libraries. Or not use inline style.