Commit 3415e100 authored by Ronan Abhamon's avatar Ronan Abhamon

fix(ui/modules/Linphone/Chat/Chat): add a workaround to this issue:...

fix(ui/modules/Linphone/Chat/Chat): add a workaround to this issue: https://bugreports.qt.io/browse/QTBUG-49989
parent 2ba712cc
...@@ -5,6 +5,7 @@ import QtQuick.Layouts 1.3 ...@@ -5,6 +5,7 @@ import QtQuick.Layouts 1.3
import Common 1.0 import Common 1.0
import Linphone 1.0 import Linphone 1.0
import Linphone.Styles 1.0 import Linphone.Styles 1.0
import Utils 1.0
// ============================================================================= // =============================================================================
...@@ -182,6 +183,10 @@ ColumnLayout { ...@@ -182,6 +183,10 @@ ColumnLayout {
var initView = function () { var initView = function () {
positionViewAtEnd() positionViewAtEnd()
_tryToLoadMoreEntries = false _tryToLoadMoreEntries = false
// TODO: Remove these lines when this issue will not be longer valid :
// https://bugreports.qt.io/browse/QTBUG-49989
Utils.setTimeout(chat, 10, positionViewAtEnd)
} }
// Received only if more entries were loaded. // Received only if more entries were loaded.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment