diff --git a/src/components/AChat/AChat.vue b/src/components/AChat/AChat.vue index cd6ad6e2c..35d5c9193 100644 --- a/src/components/AChat/AChat.vue +++ b/src/components/AChat/AChat.vue @@ -124,7 +124,7 @@ const resizeHandler = () => { Math.ceil(messagesRef.value.scrollTop) const scrolledToBottom = nonVisibleClientHeight === 0 - if (!scrolledToBottom) { + if (!scrolledToBottom && clientHeightDelta > 0) { messagesRef.value.scrollTop += clientHeightDelta }