-
Notifications
You must be signed in to change notification settings - Fork 13.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
Add Right To Left Support #643
Comments
Sorry, we need a little more info on what exactly you are looking for here :) CSS will get you some of the way. Is there anything in particular that would help? |
Take a look at http://angular-translate.github.io/ |
The Persian and Arabic languages are right to left, so we need a right to left layout( dir="rtl" ) for our application, I tested ionic and seems it don't support right to left direction at time. |
Yes we'd love to support RTL, but honestly I'm not too familiar with it. Would you be able to assist in what needs work, or describe why something within Ionic doesn't work with rtl? Thanks |
I tested many components of ionic and the most problem is with animations(for example, the slide animation of navbar) and element's float; I created a pen that shows the slide animation of "navbar" and if you look, the back button is not at right place, also I corrected some elements' place using "float:left/right" style.
Here's the pen: If you have any questions, I will be happy to answer them, |
Thanks for the assistance. This reminds me of how flexbox uses |
This is a must! |
I just added new right to left animations. As for animations, I'm going to let the developer decide which direction to use, rather than assuming RTL attributes should do the opposite (plus a lot less code and allows more flexibility). So for an RTL app, they can assign the However, switching the back button icons I do think should be automatic depending on an RTL attribute. I've got an issue open for it and will kick around a few ideas. @alongubkin and @Mahdi7s, would either of you be able test out the animations and let me know if they're working as expected? The nightly builds can be found here: http://code.ionicframework.com/#nightly Thanks. |
Do we have an actual example of what is being requested here? I think there is some miscommunication going on. I don't know why a new animation type was necessary unless I'm missing something. |
Having an animation that slides out views from right to left would be On Thursday, March 13, 2014, Max Lynch notifications@github.com wrote:
|
Okay. I'd really like to see some real example apps that do RTL well before we add anymore features for it. Right now I feel we are going off a few suggestions but we don't fully understand the problem space, so I think we should just wait on it.
|
Framework7 has proper support for RTL Is it possible to have full support for RTL implemented in the Ionic framework ? All of the the form fields should be reversed (from right to left). Also the fixed search input field (AKA search bar) should be reversed, too (search field should be on the right, while cancel button on the left). All of the custom Form elements need also to appear on the right edge of the screen. |
Hi |
I think they fixed it at framework7 if you interested. In ionic it's still an issue. |
Whats update ? |
Ping... |
Actually, You can come over it with some custom class implementation for you RTL content and keep the html direction LTR. By this simple move you can overwhelm the transition issue until it is fixed and released. For example create a class called Or you have another option which I did not have time to go with so I do not pass my deadline is to dig deep in the css source files and fix it your self. |
@fadifannoun, What about floats? I think we should have some flag in CLI setup, somthing like semantic-ui approach: |
Title!
The text was updated successfully, but these errors were encountered: