set height only when \!Qt.inputMethod.visible

This commit is contained in:
Malte E 2022-03-23 08:09:48 +01:00
parent d6df5f626b
commit 59e42a7551

View file

@ -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)