flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Thomas <stho...@beyondconnect.com.INVALID>
Subject RE: SoftKeyboard and TextField combined
Date Wed, 17 Feb 2016 23:44:33 GMT
Hey Om,

Yes, which works fine when all content (example a login screen) can move, and the text field
doesn't need to look as if it's attached to the keyboard (typical messaging app for example).
The textfield kinda' drops off screen for a moment, then everything catches up..  So, the
workaround is to animate it and try to match the speed/cadence of the opening and closing
keyboard and set the softKeyboardBehavior to "none".

Adobe offers some guidance:

I guess I just need to work on what I've built so far, and improve it..  Shame there isn't
a "deactivating" event like there is an "activating" though.


-----Original Message-----
From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash Muppirala
Sent: Wednesday, February 17, 2016 11:24 AM
To: users@flex.apache.org
Subject: Re: SoftKeyboard and TextField combined

Have you used the Mobile TextInput component and set the softKeyboardBehavior attribute in
app.xml to "pan"?


On Wed, Feb 17, 2016 at 11:07 AM, Stuart Thomas < sthomas@beyondconnect.com.invalid>

> Hey Guys,
> For your typical messaging scenario - where the textfield is on top of 
> the softkeyboard as it opens and closes..:
> I'm using a combination of softkeyboard events and focus events, with 
> a move effect to make it appear that a textfield is bound to the 
> softkeyboard
> - but it's a bit clunky.
> Has anyone solved this in a more elegant way?  Perhaps an ANE?
> Many Thanks,
>  -sT
View raw message