diff --git a/scripts/communityScripts/armored-chat/armored_chat.qml b/scripts/communityScripts/armored-chat/armored_chat.qml index 07eb75c626..f4c66b7b5f 100644 --- a/scripts/communityScripts/armored-chat/armored_chat.qml +++ b/scripts/communityScripts/armored-chat/armored_chat.qml @@ -21,6 +21,7 @@ Rectangle { repeat: false onTriggered: { toScript({type: "initialized"}); + load_scroll_timer.bypassDistanceCheck = true load_scroll_timer.running = true } } @@ -29,8 +30,12 @@ Rectangle { interval: 100 running: false repeat: false + + property bool bypassDistanceCheck: false // One time event. Whether we should bypass the distance check, and scroll to the bottom regardless or not. + onTriggered: { - scrollToBottom(true); + scrollToBottom(bypassDistanceCheck); + bypassDistanceCheck = false; // Set the property to false, this was a one time event! } }