How to keep the SoftKeyboard on mobile from closing after losing focus?
apple use case:
in imessage application user able enter text in input , click 'send' button. clicking send button keeps softkeyboard open , text sent user.
my adobe result, trying todo samething.
the user clicks in stagetext instance, softkeyboard raises, user can type. once user clicks button send message softkeyboard closes ,
softkeyboardevent.soft_keyboard_deactivate fires.
this poor experience since each time want type message softkeyboard opens , closes after each send.
i have tried give focus stagetext instance after button clicked produces worse result keyboard begins closing , opens again.
i have skimmed through apple documentation on keyboard control , suggests possible use case (since imessage uses it) using 'responders'.
it seems have create own ane encapsulate functionality. believe if adobe wants meet strict usability guidelines apple has in place sort of stuff needs baked air.
if have suggestions or workarounds please let me know
thanks!
utterly tentative hunch (no time real test atm):
have tried call
event.preventdefault()
in handler ?
this works block lot of system-default-behaviors, stop orientation change, focus etc.
More discussions in AIR Development
adobe
Comments
Post a Comment