mantine-v7
mantine-v7 copied to clipboard
Layout glitches in production build with CRA
What package has an issue
@mantine/core
Describe the bug
First of all, thank you for the fantastic v7 version without CSS-in-JS. I have successfully migrated an entire application to v7 and find the new style handling much more straightforward and logical. 👍🏻
Everything is working fine in my development environment so far. But after building the project and running it productively there are some style glitches that do not occur in development. I would be very grateful for a clue as to what could have gone wrong here. I am using a Create React App (CRA) with React Scripts.
Example for strange layout effects on production build:
Development:
Production:
What version of @mantine/* page do you have in package.json? (Note that all @mantine/* packages must have the same version in order to work correctly)
7.0.0-beta.2
If possible, please include a link to a codesandbox with the reproduced problem
See screenshot
Do you know how to fix the issue
None
Are you willing to participate in fixing this issue and create a pull request with the fix
None
Possible fix
No response