-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs][joy] Error in the exemplary Codesandbox of using Material UI and Joy UI together #36451
Comments
I cannot reproduce this issue. Can you please take a screen recording? |
Yes, sure. Enregistrement.de.l.ecran.2023-03-07.a.15.05.24.mov |
I tested on firefox 110.0.1 and the app throws another error: "TypeError: theme.vars.fontSize is undefined" |
Maybe it's related to this #36282 (comment) |
#36282 was released in |
Ok, that makes sense. |
It is a bug indeed. Here are working Codesandboxes: (1) https://codesandbox.io/s/material-ui-feat-joy-ui-1jkvm9?file=/demo.tsx and (2) https://codesandbox.io/s/joy-ui-feat-material-ui-zhcprk?file=/demo.tsx I will create a PR soon. Thanks again for the report. |
Thanks for the fix 🙇 |
So quick ! Everything alright now, you are great !!! |
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/material-ui-feat-joy-ui-vvvv59?file=/demo.tsx
This is the official code sandbox of the guide Joy UI and Material UI together (Case A: Joy UI in a Material UI project).
Steps:
Current behavior 😯
The app throws this kind of error: "Cannot read properties of undefined (reading '[property]')".
[property] can be "xl", "sm" etc...
Expected behavior 🤔
The app should starts without any error.
Context 🔦
I'am using Joy UI in a Material UI project. Everything was working fine before the version 5.11.12 of Material UI and 5.0.0-alpha.70 of Joy UI.
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: