@@ -274,7 +274,10 @@ AbstractStage {
274 value: appDelegate.requestedY -
274 value: appDelegate.requestedY -
275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
275 Math.min(appDelegate.requestedY - PanelState.panelHeight,
276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
276 Math.max(0, UbuntuKeyboardInfo.height - (appContainer.height - (appDelegate.requestedY + appDelegate.height))))
277− when: appDelegate.focus && UbuntuKeyboardInfo.height > 0
277+ when: appDelegate.focus
278+ && SurfaceManager.inputMethodSurface.state != Mir.HiddenState
279+ && SurfaceManager.inputMethodSurface.state != Mir.MinimizedState
280 width: decoratedWindow.width
283 width: decoratedWindow.width