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:
parent
d6d4ae5c79
commit
75f00e5de0
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue