[
https://issues.apache.org/jira/browse/FLEX-34145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13935043#comment-13935043
]
Maurice Amsellem commented on FLEX-34145:
-----------------------------------------
Found the cause of the issue: in new 4.12 skin, we use a "proxy" bitmap of the
TI when not in use, instead of the native text input, so that it scrolls and
occludes correctly.
This bitmap is captured from the OS filed, and it's already in the right
direction (RTL / LTR).
Flex uses a matrix transform for mirroring UI to simulate RTL layout.
So this mechanism must be disabled for the bitmap proxy.
> 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)