You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Perry Hickman (JIRA)" <ji...@apache.org> on 2014/04/21 18:11:23 UTC
[jira] [Created] (FLEX-34244) If you use voice inputs into TextArea
or TextInputs then rotate the screen it locks up the view.
Perry Hickman created FLEX-34244:
------------------------------------
Summary: If you use voice inputs into TextArea or TextInputs then rotate the screen it locks up the view.
Key: FLEX-34244
URL: https://issues.apache.org/jira/browse/FLEX-34244
Project: Apache Flex
Issue Type: Bug
Components: Spark: TextArea, Spark: TextInput
Affects Versions: Apache Flex 4.12.0, Apache Flex 4.11.0
Environment: iOS
Reporter: Perry Hickman
If you tap into a textArea or textInput and use the voice input from the soft keyboard and before you lower the keyboard you rotate the device and change from portrait to landscape or the other way around, the program becomes messed up. If you go from portrait to landscape, first you will see that the view does not resize right, then if you try to navigate away from the view by using the back button, it stays in the view and removes the voice text you just put into the textArea.
Tried this with the simplest test of only having two views each with a spark textArea and textInput and the means to navigate between them.
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
overlayControls="false" title="Main Home View"
>
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function GoToSecondView_clickHandler(event:MouseEvent):void
{
navigator.pushView(SecondView);
}
]]>
</fx:Script>
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:TextArea id="testTextArea"
x="10"
y="10"
width="300" height="200"/>
<s:TextInput id="textInput"
x="10" y="220"
width="100" height="50"/>
<s:Button id="GoToSecondView"
label="Go To Second View"
x="10" y="280"
click="GoToSecondView_clickHandler(event)"
/>
</s:View>
--
This message was sent by Atlassian JIRA
(v6.2#6252)