diff --git a/src/components/Chat.vue b/src/components/Chat.vue index af7f2f4..9b45a50 100644 --- a/src/components/Chat.vue +++ b/src/components/Chat.vue @@ -1068,9 +1068,8 @@ export default { } else if (container.scrollHeight - container.scrollTop.toFixed(0) - container.clientHeight <= bufferHeight) { this.handleScrolledToBottom(false); } - this.showScrollToEnd = - container.scrollHeight - container.scrollTop.toFixed(0) > container.clientHeight || - (this.timelineWindow && this.timelineWindow.canPaginate(EventTimeline.FORWARDS)); + + this.showScrollToEnd = container.scrollHeight === container.clientHeight ? false : container.scrollHeight - container.scrollTop.toFixed(0) > container.clientHeight || (this.timelineWindow && this.timelineWindow.canPaginate(EventTimeline.FORWARDS)); this.restartRRTimer(); },