From 59e42a7551b7b77d15e855c0463c49b8d55f9f25 Mon Sep 17 00:00:00 2001 From: Malte E Date: Wed, 23 Mar 2022 08:09:48 +0100 Subject: [PATCH] set height only when \!Qt.inputMethod.visible --- resources/qml/TimelineView.qml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index 9445e458..59d09fc7 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -23,7 +23,15 @@ Item { property var room: null property var roomPreview: null property bool showBackButton: false - property int fullHeight: height+Qt.inputMethod.keyboardRectangle.height + property int fullHeight + + Component.onCompleted: { + fullHeight = height + } + onHeightChanged: { + if(!Qt.inputMethod.visible) + fullHeight = height + } Label { visible: !room && !TimelineManager.isInitialSync && (!roomPreview || !roomPreview.roomid)