From f16aff06f6580d3195d06a3aaf817f8db8f0571c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 23 Jul 2026 15:47:27 +0300 Subject: [PATCH] update router when posting in chat conversation view to trigger scroll --- src/components/conversation/conversation.js | 6 ++++++ src/components/conversation/conversation.vue | 1 + 2 files changed, 7 insertions(+) diff --git a/src/components/conversation/conversation.js b/src/components/conversation/conversation.js index bd331e7b7..40cdc051a 100644 --- a/src/components/conversation/conversation.js +++ b/src/components/conversation/conversation.js @@ -635,6 +635,12 @@ const conversation = { this.unsuspendibleIds.delete(id) } }, + onPosted(data) { + this.explicitReplyStatus = null + if (this.isPage) { + this.$router.push({ name: 'conversation', params: { id: data.id } }) + } + } }, } diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index 5abeda05b..85881624f 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -244,6 +244,7 @@ disable-quotes mentions-line mentions-line-read-only + @posted="onPosted" />