Open
Description
The library cannot be used in an environment with a strict CSP policy that doesn't allow for unsafe inline styles.
In my CSP policy I allowed inline styles with a given nonce and even after setting the nonce property for the Chart component I get a CSP violation due to inline styles being used (without the provided nonce value).
Chart component has:
<Chart nonce={value} />
And yet I get:
Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self' 'nonce-value'". Either the 'unsafe-inline' keyword, a hash ('hash'), or a nonce ('nonce-...') is required to enable inline execution.
Is it possible to change this behavior and apply the styles in a way that won't trigger CSP violations?
Metadata
Metadata
Assignees
Labels
No labels