1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index 2d4fe3a7..d80d274d 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -25,8 +25,8 @@ ScrollView {
model: room
// reuseItems still has a few bugs, see https://bugreports.qt.io/browse/QTBUG-95105 https://bugreports.qt.io/browse/QTBUG-95107
- //onModelChanged: if (room) room.sendReset()
- //reuseItems: true
+ onModelChanged: if (room) room.sendReset()
+ reuseItems: true
boundsBehavior: Flickable.StopAtBounds
pixelAligned: true
spacing: 4
@@ -361,7 +361,7 @@ ScrollView {
anchors.horizontalCenter: parent ? parent.horizontalCenter : undefined
width: chat.delegateMaxWidth
- height: section ? section.height + timelinerow.height : timelinerow.height
+ height: Math.max(section.active ? section.height + timelinerow.height : timelinerow.height, 10)
Rectangle {
id: scrollHighlight
|