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.15.1
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Chrome
Describe the bug
When using a BarChart and passing in textColor props I receive the following error from React:
Warning: React does not recognize the textColor prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase textcolor instead. If you accidentally passed it from a parent component, remove it from the DOM element.
I suspect this is likely the same problem seen in hereand here in which props were being unintentionally spread across an element that can't accept them.
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.15.1
What package has an issue?
@mantine/core
What framework do you use?
Next.js
In which browsers you can reproduce the issue?
Chrome
Describe the bug
When using a BarChart and passing in
textColor
props I receive the following error from React:Warning: React does not recognize the textColor prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase textcolor instead. If you accidentally passed it from a parent component, remove it from the DOM element.
I suspect this is likely the same problem seen in here and here in which props were being unintentionally spread across an element that can't accept them.
If possible, include a link to a codesandbox with a minimal reproduction
https://codesandbox.io/p/sandbox/mantine-react-template-forked-yqwscq
Possible fix
The same fix applied for
gridColor
hereSelf-service
The text was updated successfully, but these errors were encountered: