diff --git a/resources/js/components/chat/Chatbox.vue b/resources/js/components/chat/Chatbox.vue index 451bccf53..5f3daaaba 100644 --- a/resources/js/components/chat/Chatbox.vue +++ b/resources/js/components/chat/Chatbox.vue @@ -1071,10 +1071,14 @@ export default { if (container === null) return; - if (this.forced != false && force != true && this.frozen) return; + if (!this.forced && !force && this.frozen) return; if (this.scroll || force) { - container.animate({ scrollTop: container.scrollHeight }, 0); + container.animate({ + scrollTop: container.scrollHeight + }, { + duration: 0 + }); } container.scroll({