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 support? #274
Comments
Sorry, my mistake. <div fxLayout="row" fxLayoutAlign="none none">
<div fxFlex="20">
<md-slide-toggle [(ngModel)]="advanced"></md-slide-toggle>
</div>
<div fxFlex="60">
<span (click)="advanced = !advanced" class="cursor-pointer"><i class="fa icon-gear"></i> {{resources.toggleAdvancedSettings}}</span>
</div>
<div fxFlex>
<div fxLayout="col" fxFill>
<span fxFill fxLayoutAlign="end start" class="cursor-pointer" (click)="closeSidebar()"><i class="fa fa-lg icon-close"></i></span>
</div>
</div>
</div> |
@HarelM - We need a Plunkr to test and validate against. Thx. |
remove the dir="'rtl'". when putting it back on you should get a mirror image of the ltr version. |
Thx. We will investigate.
…On Thu, May 25, 2017, 5:00 PM Harel M ***@***.***> wrote:
remove the dir="'rtl'". when putting it back on you should get a mirror
image of the ltr version.
https://plnkr.co/edit/Pdmk94iCqGjmquDPcfU3?p=preview
This is not the case.
I haven't fully checked all other scenarios and it does feel that it's not
exactly mirroring as it should but I don't have another case to show
currently.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#274 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM17W4MG18fp5ZVS-yeByboFXK2cPyfks5r9foPgaJpZM4NOsqj>
.
|
Hi, Any (non manual CSS) workaround/solution for this issue ? |
The following is another issue I now see with the RTL support: FlexLayoutGap="10px" inside a [dir]="'rtl'" Expected behavior: Version: 2.0.0-beta.9 basically the following code, thought not fully tested: <div [dir]="'rtl">
<div fxLayout="row" fxLayoutGap="10px">
<div fxFlex="70">
the gap is before this element instead of after
</div>
<div fxFlex>
Should be a gap between this and the previous one
</div>
</div>
</div> |
Did you find a solution to this, by the way this happens even with fxLayout="row-reverse", it places the gap on the wrong side |
The workaround I found was to use css instead, I know this is a poor workaround but unfortunately I don't have time to fix the bug here... |
Can I ask why this was set to P5? This seems very important in order to support RTL languages. |
Looks like the plunkers no longer work, so here the same with the stackblitz template. https://stackblitz.com/edit/angular-flex-layout-seed-eb7gve?file=app/test.component.ts As of now, unfortunately, in practice it can't be used in RTL, it's easier to just use pure CSS (or any other solution). |
Thanks for the demo! Unfortunately, I can't get the tests to run so I can't really make much progress on this myself. Edit/Update: I fixed the broken tests by installing rxjs 5.5.0 instead of 5.5.5 so I'll be working on this today. |
Apply margins correctly in rtl for flex-gap and flex-offset. fix for angular#274
Apply margins correctly in rtl for flex-gap and flex-offset. fix for angular#274 Apply margins correclty in rtl for flex-gap and flex-offset. fix for angular#274
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm not sure if I'm configuring this incorrect of that this library doesn't support RTL content.
The following is my layout html:
What I want to accomplish is close to the following:
Only the "X" in the image should be aligned to the end, which in RTL case is left instead of right.
I'm using angular 4 with
[dir]="rtl"
directive so I was hoping this is in sync with angular's RTL support...The text was updated successfully, but these errors were encountered: