-
1. Re: renderMode=direct and softKeyboardBehavior=none not compatible on Android
Jliv1 Nov 9, 2013 12:24 AM (in response to Mike Bresnahan)"if I set renderMode=direct and softKeyboardBehavior=none the app continues to pan when the softkeyboard is activated" I've also been struggling with this. It appears to be a bug. The only workaround I've found so far is making sure the object which is activating the softkeyboard (like a TextInput object) is high enough up on the screen that it isn't covered by the keyboard. Ensuring this is very difficult however, because I haven't found a consistent way to determine the size of the software keyboard. If anyone could point me to what value is being changed when the screen pans, that would be very appreciated. I would like to try triggering this bug, then checking how much the stage is panned, and then setting the activating object based upon the panning value. I can't do this until i figure out how much the screen pans.
-
2. Re: renderMode=direct and softKeyboardBehavior=none not compatible on Android
nimitja Nov 12, 2013 2:56 AM (in response to Mike Bresnahan)Are you able to reproduce the issue with plain Actionscript project?
-NImit
-
3. Re: renderMode=direct and softKeyboardBehavior=none not compatible on Android
electrofrog Nov 13, 2013 3:32 AM (in response to nimitja)I can confirm that this bug is happening with pure actionscript code too.
This one is really a pain, since it only happens on Android. The solution might be to deal with
stage.softKeyboardRect and SoftKeyboardEvent classes.
EDIT:
I was wrong: you can't balance the unwanted raise of the app when the soft keyboard shows up by listening to SoftKeyboardEvent.SOFT_KEYBOARD_ACTIVATE and then set the y value of your main container to -stage.softKeyboardRect.height
There is no point to report this bug (or any other) on the JIRA bugbase, since Adobe clearly decided to drop AIR, letting customers alone, until AIR really dies.
Message was edited by: electrofrog
-
4. Re: renderMode=direct and softKeyboardBehavior=none not compatible on Android
nimitja Nov 13, 2013 3:55 AM (in response to electrofrog)Thanks for the confirmation. I tried actionscript(textfield) code but not able to reproduce. I would be great if you can share the pure actionscript code with which you are able to reproduce the issue. Please email me @ nimitja@adobedotcom.
-Nimit
-
5. Re: renderMode=direct and softKeyboardBehavior=none not compatible on Android
electrofrog Nov 13, 2013 4:01 AM (in response to nimitja)@nimitja It's good to hear from Adobe
I'll send you an email with the code soon !


