Open coelhonix opened 2 years ago
Are you able to say what you get for the height from that trace, vs what the actual height of the keyboard is?
I'm not entirely sure why you're adding two tweens - for chatMC
and for chatMC.top
- and also don't forget that the last two lines written above to tween back to offset
/offsetTopo
will get added as well so essentially there are four TweenLite
constructors being called here.. not sure whether that's what you actually want/need to do.
(@marchbold fyi..)
The keyboard can be a little tricky depending on the device and OS you are using.
Application.service.keyboard.init()
before you intend to measure the keyboard. This sets up a series of listeners and views that help determine the size of the keyboard.https://docs.airnativeextensions.com/docs/application/display/soft-keyboard
If you are still experiencing issues, I suggest logging an issue in the extensions github repository and including as much information as you can, such as device, platform, version etc. and ideally the device logs.
I'm not sure if i'm using this the correct way, but i'm trying to move some elements around when I get a soft keyboard activate, using the application service keyboard height. However I'm not beeing able to get the correct keyboard height.
I may be doing something wrong, but I even tried to scale the keyboard height but it doesn't seem to return the correct value.
Thanks in advance!