-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix: Proper RTL support #434
Fix: Proper RTL support #434
Conversation
Hey @iyadthayyil, thank you for your pull request 🤗. The documentation from this branch can be viewed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @iyadthayyil! Thanks so much for the pull request. This is really awesome!
Regarding the approach, I think rtl
support should be automatic without having to provide an iconRtl
prop. The Icon
component should flip itself if we detect RTL.
Is there any case where this behavior is not desirable?
If it's really a necessity, I think a better approach will be to add rtl: boolean
to the theme.
Please join our discord if you wanna chat: https://discord.gg/zwR2Cdh
@iyadthayyil are you still working on this? This is quite important for v2. |
@satya164 I have fixed RTL support of icons as you requested, but some tests are failing can you take a look on it please. |
@iyadthayyil awesome. to update the snapshot tests you can run |
It looks like we still have some Flow errors. |
Hello! We know that you are in the process of fixing it, but due to our time constraints it's really important for us to know at least approximate schedule for fixing this problem. So we can make a decision whether it would be better just to wait for your fixes, or to fork and try to support it on our own. So, could you please give us approximate amount of time you are planning to spend on fixes, if it wouldn't bother you much? Looking forward for your answers and thank you for your work. Regards, |
@iyadthayyil do you need any help to land this? |
I'll check it soon when I get some time. |
after all these changes how we can make lists RTL ? |
Does TextInput support RTL? |
@masoud-msk Yes, it does |
@Trancever |
RTL is not working for TextInput. I tested on Android. |
TODO
fixes #375