You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
7.16.0
What package has an issue?
@mantine/charts
What framework do you use?
Vite
In which browsers you can reproduce the issue?
Chrome
Describe the bug
I have inspected the component tree. All other mantine components render fine and there is a MantineProvider at the root of the app. This broke when upgrading React from 18.3.1 to 19.0.0
Something went wrong
@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app
Error: @mantine/core: MantineProvider was not found in component tree, make sure you have it in your app
at useMantineTheme (http://localhost:3000/node_modules/.vite/deps/chunk-5ZRGPGLE.js?v=a9337246:929:11)
at useProps (http://localhost:3000/node_modules/.vite/deps/chunk-5ZRGPGLE.js?v=a9337246:2223:17)
at @mantine/charts/AreaChart (http://localhost:3000/node_modules/.vite/deps/@mantine_charts.js?v=a9337246:29979:17)
at react-stack-bottom-frame (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:16192:20)
at renderWithHooks (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:4306:24)
at updateForwardRef (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:5813:21)
at beginWork (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:7244:20)
at runWithFiberInDEV (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:726:18)
at performUnitOfWork (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:10831:98)
at workLoopSync (http://localhost:3000/node_modules/.vite/deps/react-dom_client.js?v=a9337246:10692:43)
If possible, include a link to a codesandbox with a minimal reproduction
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.16.0
What package has an issue?
@mantine/charts
What framework do you use?
Vite
In which browsers you can reproduce the issue?
Chrome
Describe the bug
I have inspected the component tree. All other mantine components render fine and there is a MantineProvider at the root of the app. This broke when upgrading React from 18.3.1 to 19.0.0
Something went wrong
@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-react-template-forked-gmm7p2
Possible fix
I've tried reproducing this in CodeSandbox but there it just renders no area chart at all with React 19 but if I downgrade React to 18.3.1 it renders.
Self-service
The text was updated successfully, but these errors were encountered: