only enable the binding when the OSK is actually shown
commite0fe26c4a047588494f45cb2d64e6a806b3818c6
authorMichael Zanetti <michael.zanetti@canonical.com>
dateThu 23 Jun 2016, 14:20 (10 years ago)
parentf74606d
qml/Stages/DesktopStage.qml+1−1
@@ -274,7 +274,7 @@ AbstractStage {
274274 value: appDelegate.requestedY -
275275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
276276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
277− when: appDelegate.focus
277+ when: appDelegate.focus && UbuntuKeyboardInfo.height > 0
278278 }
279279
280280 width: decoratedWindow.width