diff --git a/Linphone/view/Page/Form/Chat/SelectedChatView.qml b/Linphone/view/Page/Form/Chat/SelectedChatView.qml index e01b1c30e..06e6a31e0 100644 --- a/Linphone/view/Page/Form/Chat/SelectedChatView.qml +++ b/Linphone/view/Page/Form/Chat/SelectedChatView.qml @@ -576,6 +576,12 @@ FocusScope { contentLoader.item.parentView = mainItem } } + Connections { + target: mainItem + function onChatChanged() { + detailsPanel.visible = false + } + } } Component { diff --git a/Linphone/view/Page/Layout/Chat/ConversationInfos.qml b/Linphone/view/Page/Layout/Chat/ConversationInfos.qml index 881c1605a..caccf5947 100644 --- a/Linphone/view/Page/Layout/Chat/ConversationInfos.qml +++ b/Linphone/view/Page/Layout/Chat/ConversationInfos.qml @@ -250,6 +250,7 @@ ColumnLayout { anchors.top: parent.top anchors.bottom: parent.bottom anchors.right: parent.right + visible: scrollView.contentHeight > scrollView.height } ColumnLayout {