-
Notifications
You must be signed in to change notification settings - Fork 6.7k
RTL support in $position service #2811
Comments
@mevjak as of today the |
After quick research I see 2 main goals:
What's your opinion? |
@mevjak IMO it would be better to detect LTR / LTR setting from the DOM, if possible. Then yes, we would need to modify the $position service but while doing so we should make sure that there is not too much code added. There is extensive code coverage so hopefully refactoring to remove any potential code duplication should be easy. |
duplicate discussion: #3151 |
+1 for adding RTL support. Is this something you guys are still considering adding in? |
Closing in favor of #4762. |
the fix of @mevjak mixed with the following would probably help: var dir = document.documentElement.dir;
if (dir === 'rtl') {
return x;
} else {
return z;
} this way depending on |
Any new on this ticket? I really makes the library not usable for RTL projects :( here you can see what happens on the up to date version of the library: globaleaks/globaleaks-whistleblowing-software#1755 |
@evilaliv3 I used this, alongside some custom glyphicon > font-awesom less mapping (possibly one or two other fixes) and everything works a charm. |
thanks @blowsie i'm already using https://github.com/MohammadYounes/RTL-bootstrap but the issue is in mixing it with the javascript provided by angular-ui |
I have an issue with Popover directive on page with RTL languages. Popover horizontal position is calculated incorrectly:
Is RTL support missing in $position service? Or is it needed to make some Popover template tweaks?
Thanks for any advice.
The text was updated successfully, but these errors were encountered: