Skip navigation
DanHumphrey
Currently Being Moderated

iOS TextInput cursor and content show through title bar and other UI elements

Sep 21, 2011 4:21 PM

Tags: #ios #form #keyboard #soft #textinput

When a form is contained within a scroller, it is possible to scroll the content whilst the softkeyboard is displayed and the input element retains focus - on iOS, this causes the cursor and the text to show through UI elements on iOS such as the titlebar content.

 

Has anyone come up with a workaround or knows whether this is fixed in Air 3/ Flex 4.6?

 

Thanks,

 

Dan

 
Replies
  • Currently Being Moderated
    Oct 18, 2011 2:55 PM   in reply to DanHumphrey

    Hi Dan,

     

    Please go ahead and file a bug on this.

     

    Thanks,

     

    -- Tom

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 1, 2011 10:38 PM   in reply to DanHumphrey

    Hey Dan!

    I had the same problem and afortunately I found this is caused by the new StageText that is enabled by default on Flex 4.6.  If you want to get rid of this bug a workaround is to write on each textinput to use the skin from previous sdk 4.5.1 ( in the mxml ):

    skinClass="spark.skins.mobile.TextInputSkin"

     

    Obviously I dont understand how the StageText is going to be usefull if you cant use it in a scroller container.  Current constelation would only let you use the Stage text in a bug-free status when you use a non-scrollable screen and that means you just have the half of the screen to display textinputs otherwise they will be overlayed by the softkeyboard.

     

    Hope this helps and hopefully this will be of interest for adobe or whoever is going to take care of this in the future :S

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2011 3:28 AM   in reply to DanHumphrey

    I have migrated my app from Flex 4.5.1 to Flex 4.6 and the TextInput click event was broken so I do this «

    skinClass="spark.skins.mobile.TextInputSkin" » and all seems work (tested in my Android and seems ok) but one user with iPhone complained that now the keyboard dont popup ?

     

    Please help !

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 12, 2011 5:22 AM   in reply to hferreira.80@gmail.com

    This also happens with the TextArea that my use the skin spark.skins.mobile.TextAreaSkin

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 29, 2012 1:45 AM   in reply to DanHumphrey

    I have the same problem with skinClass="spark.skins.mobile.TextInputSkin" or StageText, when a form is contained within a scroller, it is possible to scroll the content whilst the softkeyboard is displayed and the input element retains focus - on iOS, this causes the cursor and the text to show through UI elements on iOS such as the titlebar content.

     

    Has anyone come up with a workaround ?

    thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points