Skip to main content
Inspiring
July 2, 2012
Answered

softKeyboardRect.height incorrectly returns 440 on android

  • July 2, 2012
  • 2 replies
  • 1727 views

When I select an input box on android.

stage.softKeyboardRect.height returns 440 which is way off.
This has killed my project. I've been trying to fix it for almost a week.
I'm sure other people have experienced this.
what should I do ?
thanks

This topic has been closed for replies.
Correct answer luke_luke_luke

apparently you cant get the keyboard height in GPU mode on android.

2 replies

Known Participant
February 10, 2016

This bug has been reported, please go vote for it!

Bug#4085072 - Android softKeyboardRect Height is Incorrect

Inspiring
July 3, 2012

I forgot to mention that I have disabled the normal softkeybaord behavior by putting

<softKeyboardBehavior>none</softKeyboardBehavior>

in the app xml.

luke_luke_lukeAuthorCorrect answer
Inspiring
July 9, 2012

apparently you cant get the keyboard height in GPU mode on android.

Inspiring
February 4, 2016

This is not a correct answer, I am not sure how it was marked as such.

The keyboard height is always being reported as 440 on Android on any render mode. This is a very major bug on Android as the pan behaviour is also wrong.