iOS SoftKeyboard pan "bounce"
I have been working on an AIR app now for the last 6 months and I am really stuck with this one issue I am running into with the softkeyboard on iOS devices. Since most of the TextInputs and TextAreas I use are within scrollers or lists, I could not use StageText and have applied the TextInputSkin and TextAreaSkin to everything to use the old inputs instead. The problem I am running into is that when a user taps on a text field that is below where the keyboard appears (bottom half of the screen on an iPhone), the softkeyboard pans up, then back down, then back up again. This makes it have the appearance of a weird bouncing effect. While this does not effect usability, it is very annoying since it is all over the app.
I applied an event handler to the SoftKeyboardActivate and Deactivate events and sure enough, the activate event is triggered, then deactivated, then activated again. After 10+ hours of searching, I can't seem to find the source of this unnecessary deactivate and activate. I have tried to use softKeyboardBehavior "None" in my app xml but then the text is hidden by the keyboard when the user is typing. This problem does not happen with the new StageText but like I said before, I can't use it because of lack of support with scrolling (and some other weird issues like with fade transitions). The problem exists on both AIR 3.1 and 3.2. To make sure I didn't just have some weird project setting, I created a new project, set the softKeyboardBehavior to "pan", and added a simple text input to the bottom of the auto-generated first view like this:
<s:TextInput skinClass="spark.skins.mobile.TextInputSkin" bottom="15"/>
I then tested it on my iPhone and sure enough, it had the weird bouncing problem. This issue does not occur on Android or BB. To make things even weirder, if I tap the device home button to leave the app, then open it right back up again, the problem goes away. Am I really the only person with this issue? Does anyone know of any way to fix this? Any help would be greatly appreciated. Thanks so much!
