From 77419e0bc7ce4c489aec0851ea563b59df62e450 Mon Sep 17 00:00:00 2001 From: Rainor_da! <51012640+1zzxy1@users.noreply.github.com> Date: Sat, 28 Mar 2026 21:38:27 +0800 Subject: [PATCH] fix(webui): handle history wheel on preview container (#6972) --- dashboard/src/views/ConversationPage.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/dashboard/src/views/ConversationPage.vue b/dashboard/src/views/ConversationPage.vue index 3d25855f3..111a82202 100644 --- a/dashboard/src/views/ConversationPage.vue +++ b/dashboard/src/views/ConversationPage.vue @@ -198,7 +198,9 @@ -
+
mdi-chat-remove @@ -1052,6 +1054,13 @@ export default { return parts; }, + // Manually handle wheel scrolling inside the dialog preview container. + onContainerWheel(event) { + const el = this.$refs.messagesContainer; + if (!el) return; + el.scrollTop += event.deltaY; + }, + // 从内容中提取文本(保留用于其他用途) extractTextFromContent(content) { if (typeof content === 'string') {