Hi Alex

Here is a video the that shows issue.
http://screencast.com/t/KRoaC9T5

As you did, i added a second TextInput and when leaving the first one, the
text jumped to the left side and mirror the letters.
Please note that i'm using PC but I checked it on an android device and it
was the same.
Note that I write in Hebrew (Not Arabic).
Please be aware that the example includes the "layoutDirection" property.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
   xmlns:s="library://ns.adobe.com/flex/spark" applicationDPI="160">
 <s:TextInput layoutDirection="rtl" direction="rtl" foc />
 <s:TextInput layoutDirection="rtl" direction="rtl" top="50" />
</s:Application>

Thanks in advance,
Ori & Evyatar.




On Thu, Mar 13, 2014 at 6:42 PM, Alex Harui <[email protected]> wrote:

> I couldn't reproduce, but I may simply not know how.
>
> I added a second TextInput to your example so there is something to change
> focus to that will cause a focusOut on the first TextInput.  Then (on
> Mac), I ran the app, switched to Arabic, typed "abc" on my keyboard which
> caused 3 arabic letters to appear on the right side, and the second
> characters was to the left of the first and third character was to the
> left of the second.  Then I hit tab to focus the second TextInput and
> everything looked the same on the screen.
>
> -Alex
>
> On 3/13/14 1:13 AM, "Evyatar Ben Halevi-Arbib" <[email protected]>
> wrote:
>
> >Hello,
> >
> >After upgrading to version 4.12 TextInput component defined to be with RTL
> >direction is mirroring the text after focus-out.
> >When typing the text looks OK, but when leaving the field the text becomes
> >LTR and in fact becomes mirror writing.
> >Note that it worked great on version 4.11.
> >
> >The following example can be used to demonstrate the issue -
> >
> ><?xml version="1.0" encoding="utf-8"?>
> >
> ><s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
> >
> >                        xmlns:s="library://ns.adobe.com/flex/spark"
> >applicationDPI="160">
> >
> >
> >
> >       <s:TextInput layoutDirection="rtl" direction="rtl" />
> >
> >
> >
> ></s:Application>
> >
> >Thanks in advance,
> >Evyatar
>
>

Reply via email to