-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
ScrollArea component violates CSP directive rules #3597
Copy link
Copy link
Closed
Description
What package has an issue
@mantine/core
Describe the bug
We use strict CSP rules in our project and we configured Mantine to work with it using emotion cache:
const emotionCache = createEmotionCache({ nonce: cspNonce });
<MantineProvider emotionCache={emotionCache}>
...
</MantineProvider>Everything is working as expected, but where we render the Select / Autocomplete component and then we click to open the Dropdown the following error occurs:

I can't see any style differences between my localhost and the production builds, so I'm not sure which styles are being blocked by it.
What version of @mantine/hooks page do you have in package.json?
5.10.4
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Possible fix
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels