SimpleChatTCRV:CMUI:Scroll into view in optimized ui flows

This commit is contained in:
hanishkvc 2025-11-15 20:55:37 +05:30
parent d18745d02f
commit 161714f56e
1 changed files with 3 additions and 0 deletions

View File

@ -1386,6 +1386,9 @@ class MultiChatUI {
this.show_message(this.elDivChat, prevLastMsg, 1, msg) this.show_message(this.elDivChat, prevLastMsg, 1, msg)
} }
this.show_message(this.elDivChat, msg, 0, undefined) this.show_message(this.elDivChat, msg, 0, undefined)
if (this.elLastChatMessage != null) {
this.scroll_el_into_view(this.elLastChatMessage)
}
return true return true
} }