Open oliviertassinari opened 1 year ago
Hello have you fixed it? I am having the same problem Invalid DOM property
transform-origin. Did you mean
transformOrigin?
i am getting the same error while using @mui/x-charts..
I am also having this issue with @mui/x-charts
I am also having this issue with @blueprintjs/icons
Also having this issue with components generated using @svgr/cli
transform-origin
is a valid SVG HTML attribute:
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/transform-origin
I guess the problem lies with the JSX output from svgr. It should be applying the attribute in camelCase.
This seems to be an issue with next - which is wrongly throwing an error for the transform-origin
property.
The React runtime has been happy with it for over a year:
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://codesandbox.io/p/sandbox/jolly-zhukovsky-7k74qp?file=/app/page.tsx:9,18
To Reproduce
Open the console
Describe the Bug
The Next.js App Router gets confused:
Expected Behavior
Like in the Next.js Page Router, no warnings
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
I noticed this while playing with https://mui.com/x/react-charts/lines/#data-format.