You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2014/03/14 13:54:46 UTC

[jira] [Commented] (FLEX-34145) Mobile Theme: TextInput with layoutDirection="rtl" becomes mirror on focus out.

    [ https://issues.apache.org/jira/browse/FLEX-34145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934955#comment-13934955 ] 

Maurice Amsellem commented on FLEX-34145:
-----------------------------------------

Ori, Flex documentation says that layoutDirection should be set at the app level, not at the TI level, so that the form itself is mirrored.
I tried this, but in this case, the text itself is not displayed inside the text field (looks like coordinates are not mirrored).
Error occurs with both previous StageTextInputSkin and current ScrollableTextInputSkin.

In your specific case, are you mirroring the whole app, or do you manage the mirroring yourself, and thus set the TI layoutdirection individually ?



> Mobile Theme: TextInput with layoutDirection="rtl" becomes mirror on focus out.
> -------------------------------------------------------------------------------
>
>                 Key: FLEX-34145
>                 URL: https://issues.apache.org/jira/browse/FLEX-34145
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: TextInput
>    Affects Versions: Apache Flex 4.12.0
>         Environment: mobile project
>            Reporter: Ori Segal
>            Assignee: Maurice Amsellem
>
> After upgrading to version 4.12 TextInput component defined to be with RTL layoutDirection 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.
> Here is a video the that shows issue.
> http://screencast.com/t/ekJnaDOZ6H
> 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>



--
This message was sent by Atlassian JIRA
(v6.2#6252)