diff --git a/containments/homescreen/package/contents/ui/KRunner.qml b/containments/homescreen/package/contents/ui/KRunner.qml index 05c2b941..86edd415 100644 --- a/containments/homescreen/package/contents/ui/KRunner.qml +++ b/containments/homescreen/package/contents/ui/KRunner.qml @@ -71,7 +71,7 @@ Rectangle { } ColumnLayout { - height: Math.min(implicitHeight, (plasmoid.availableScreenRect.y + plasmoid.availableScreenRect.height) - Qt.inputMethod.keyboardRectangle.y) + height: Qt.inputMethod.keyboardRectangle.height > 0 ? (Math.min(implicitHeight, Qt.inputMethod.keyboardRectangle.y - plasmoid.availableScreenRect.y)) : implicitHeight anchors { left: parent.left right: parent.right