-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[@mantine/charts] AreaChart not displaying data with Next.js 15 #7220
Comments
Provide a sandbox with a minimal reproduction. |
I am also experiencing this issue and I am trying to find what could be the cause. And after downgrading the Next.js version in that minimal reproduction to Next.js 14.2.20, the AreaChart works so seems related to Next.js 15. |
Ok, I got my AreaChart working in Next.js 15 with React 19. I found this answer in the Basically, So they suggested overriding the Also, the Recharts people are going to release an upgraded version soon: recharts/recharts#4558 (comment) So, this is just a matter of waiting a couple of hours/days and then update But if someone can not wait, I made it work by adding in my "overrides": {
"react-is": "^19.0.0"
}, or if you are using pnpm: "pnpm": {
"overrides": {
"react-is": "^19.0.0"
}
} |
recharts maintainer here. This isn't just recharts. In react 19 We can't actually add Now in 3.x we plan to remove react-is entirely so problem solved anyways, but until then there has potential be some issues |
Okay, this issue is not related to Mantine and does cannot be fixed on the library side, follow the instructions above to install the specific |
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.14.3
What package has an issue?
@mantine/charts
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
All
Describe the bug
AreaChart
not displaying data. If change it toLineChart
with same structure and same data, is working perfectly.NextJS: 15.0.3
Mantine: 7.14.3
Recharts: 2.14.1
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/devbox/mantine-area-chart-issue-y63fj6
Possible fix
No response
Self-service
The text was updated successfully, but these errors were encountered: