diff --git a/resources/[gameplay]/chat/html/App.ts b/resources/[gameplay]/chat/html/App.ts index 03b01ac..28a5c65 100644 --- a/resources/[gameplay]/chat/html/App.ts +++ b/resources/[gameplay]/chat/html/App.ts @@ -397,6 +397,9 @@ export default Vue.extend({ this.modeIdx = (this.modeIdx + 1) % this.modes.length; } while (this.modes[this.modeIdx].hidden); } + + const buf = document.getElementsByClassName('chat-messages')[0]; + setTimeout(() => buf.scrollTop = buf.scrollHeight, 0); } this.resize();