Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-34244

If you use voice inputs into TextArea or TextInputs then rotate the screen it locks up the view.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Apache Flex 4.11.0, Apache Flex 4.12.0
    • None
    • iOS

    Description

      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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            phickman@pdmb.com Perry Hickman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: