Merge branch 'bugfix/VNQ-6972-negative-KeyboardHeight' into 'master'

[VNQ-6972] - зануляем отрицательную высоту клавиатуры

See merge request qt/qtandroidextensions!89
parents e4f4d6f0 015b7ce6
......@@ -113,6 +113,11 @@ public class KeyboardHeightProvider
int keyboardHeight = screenSize.y - rect.bottom;
// keyboardHeight can be negative, when navigation panel is hided
// screenSize doesn't take into account the possibility of hiding panel
if (keyboardHeight < 0) {
keyboardHeight = 0;
catch (final Throwable e)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment