fix(@desktop/chat): Last message in chat is hidden under the chat box

Reduced the gap between list view and ChatBox as per design.
Added logic to scroll to the end of list on the component.onCompleted

fixes #3514
This commit is contained in:
Khushboo Mehta 2021-09-21 16:59:39 +02:00 committed by Iuri Matias
parent d6d4ae5c79
commit 75f00e5de0
1 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,6 @@ Item {
ListView {
id: chatLogView
anchors.fill: parent
anchors.bottomMargin: Style.current.bigPadding
spacing: appSettings.useCompactMode ? 0 : 4
boundsBehavior: Flickable.StopAtBounds
clip: true
@ -245,6 +244,8 @@ Item {
model: messageListDelegate
section.property: "sectionIdentifier"
section.criteria: ViewSection.FullString
Component.onCompleted: scrollToBottom(true)
}
MessageDialog {