-
-
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
Label of TextField not aligned to the right direction in rtl mode (reopen of #9332) #25856
Comments
👋 Thanks for using Material-UI! We use GitHub issues exclusively as a bug and feature requests tracker, however, For support, please check out https://material-ui.com/getting-started/support/. Thanks! If you have a question on StackOverflow, you are welcome to link to it here, it might help others. |
@eran-or You need to configure the JSS plugin, as well. You can follow the guide in the documentation. |
what if i want to use the create-react-app and prefer not to configure the webpack with fork or eject? |
It's not related to webpack https://material-ui.com/guides/right-to-left/. |
I wonder even in demo link: https://codesandbox.io/s/nrblo?file=/demo.js the label is not working properly. |
@ekbatani Amir Khan did it fix? |
here is the https://codesandbox.io/s/2ezlw?file=/demo.tsx:0-453
And I just added the label: !!!This code not working - the solution is beneath!!!
I followed this: #9332 and i don't know what they are talking about - the links inside not working and the demo in the documentation not working too. it's seems like old thread.
After wasting my time I did a simple solution for rtl with css:
(With this solution i don't need ThemeProvider nor createMuiTheme, but i do change the direction of the html dir attr with js in useEffect when someone change the language. )
The text was updated successfully, but these errors were encountered: