Skip navigation
Currently Being Moderated

Reset stage view-port after soft keyboard? Bug? (iOS)

Apr 16, 2012 4:48 AM

Tags: #view #ios #reset #stage #soft_keyboard #port

AIR 3.2, iPad 3.

 

Some illustrative pics:

 

1. Tap the input text field in the middle.

la foto 1.PNG

 

2. The soft keyboard pushes up the stage, so the text field is into view.

 

la foto 2.PNG

 

3. When you are done, the stage should be like in the beginnings, but it's scrolled down

la foto 3.PNG

 

Well, this seems like a bug (?) and I'd be interested in a workaround if you know of any ;-)

 

Thanks in advance!

 
Replies
  • Currently Being Moderated
    Apr 30, 2012 12:49 PM   in reply to julifos

    Hi, have you find the solution for this issue? I have the same problem, and can't find how to fix it

     

    Thank you!

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 30, 2012 5:07 PM   in reply to Dimitriyiv

    A similar issue happened to me recently. Only instead of the keyboard, it happened with the menu bar after playing with the native video player (called through a stageWebView) on an iPhone. My app's screen was "pushed down" by the menu bar after accessing the video controls in the iOS app-switcher bar (double-tap home button and swipe all the way to the left).

     

    It was a rather remote circumstance involving a video being "AirPlay-ed" in the background, but I do suspect a related issue going on here with AIR (3.2) not playing well with native iOS controls.

     
    |
    Mark as:
  • Currently Being Moderated
    May 4, 2012 4:37 PM   in reply to gtr

    you can use <softKeyboardBehavior>none</softKeyboardBehavior> setting in your xml description file.

    none - will not move the application

    pan - will move the application up

     

    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e 463-8000.html#WSfffb011ac560372f1a6f6f1912d7748050e-7fff

     
    |
    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