-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
RTL styles incorrect using Material UI and PigmentCSS #44647
Comments
@Hadi-bakhshi Thanks for reporting this ~ would you be able to share a repro in CSB/Stackblitz as well? |
I'm so sorry but it's a private repository and I can't share it. But I will create another repo with the same condition and I'll share it with you asap. |
https://stackblitz.com/edit/stackblitz-starters-pqvb1t?file=app%2Fpage.tsx |
@Hadi-bakhshi |
The thing is that we migrated to PigmentCSS from emotion and this configuration is for emotion, we tried it and didn't work. we confronted an error. |
Update: I've found the issue. Just need to look into the fix. |
@Hadi-bakhshi Please set |
You mean there's no solution for now? |
No. It's a bug on Pigment side. The temporary workaround is to set |
Ok thank you for your efforts. Waiting for the new version |
Curently, the assumption was that the rtl css would only be needed as an addon. Fixed this to always use an explicit direction serializer based on the direction. Also, the Vite plugin was not passing on the direction information to pre-processor. This has been fixed. Fixes mui/material-ui#44647
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @Hadi-bakhshi How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
https://stackblitz.com/edit/stackblitz-starters-pqvb1t?file=app%2Fpage.tsx
Issue description
I’m trying to use MUI with PigmentCSS. As you mentioned that RTL support is available, we followed your guide. Our configuration is provided below. However, we were unable to fully enable RTL. What should we do?
next.config.ts:
pigment config:
layout.tsx
component I'm using material components:
Problem screenshot:
Context
No response
Search keywords: rtl in mui with pigmentcss
The text was updated successfully, but these errors were encountered: