mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-30 10:29:24 +00:00
fix(ui/modules/Linphone/Chat/Chat): scroll to end when a message is sent
This commit is contained in:
parent
66c8bb6dca
commit
065c701af5
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import Utils 1.0
|
|||
ColumnLayout {
|
||||
property alias proxyModel: chat.model
|
||||
|
||||
property bool _bindToEnd: false
|
||||
property var _contactObserver: SipAddressesModel.getContactObserver(proxyModel.sipAddress)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
@ -27,7 +28,6 @@ ColumnLayout {
|
|||
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
property bool _bindToEnd: false
|
||||
property bool _tryToLoadMoreEntries: true
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -247,6 +247,7 @@ ColumnLayout {
|
|||
|
||||
onValidText: {
|
||||
this.text = ''
|
||||
_bindToEnd = true
|
||||
proxyModel.sendMessage(text)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue