diff --git a/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml b/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml index 8926b0574..c57afb6da 100644 --- a/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml +++ b/qt-mobile/qml/mobilecomponents/ApplicationWindow.qml @@ -60,8 +60,7 @@ ApplicationWindow { id: __pageStack anchors { fill: parent - bottomMargin: Qt.inputMethod.visible ? (root.y + root.height) - (Qt. -inputMethod.keyboardRectangle.y) : 0 + bottomMargin: Qt.inputMethod.visible ? Qt.inputMethod.keyboardRectangle.height : 0 } focus: true Keys.onReleased: {