From 22b0d27001d1ade62fadb4614ec4dc5750ee449a Mon Sep 17 00:00:00 2001 From: Octopus Date: Wed, 22 Apr 2026 14:00:12 +0800 Subject: [PATCH] fix(stage-tamagotchi): hide chat input scrollbar when content fits (#1687) --------- Co-authored-by: octo-patch Co-authored-by: ximi-helper --- .../src/renderer/components/InteractiveArea.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue b/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue index 810cb9c0e..5272ee28c 100644 --- a/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue +++ b/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue @@ -252,12 +252,12 @@ async function handleDeleteMessage(index: number) { v-model="messageInput" :submit-on-enter="false" :placeholder="t('stage.message')" - class="ph-no-capture" + class="ph-no-capture [scrollbar-gutter:stable]" text="primary-600 dark:primary-100 placeholder:primary-500 dark:placeholder:primary-200" border="solid 2 primary-200/20 dark:primary-400/20" bg="primary-100/50 dark:primary-900/70" max-h="[10lh]" min-h="[1lh]" - w-full shrink-0 resize-none overflow-y-scroll rounded-xl p-2 font-medium outline-none + w-full shrink-0 resize-none overflow-y-auto rounded-xl p-2 font-medium outline-none transition="all duration-250 ease-in-out placeholder:all placeholder:duration-250 placeholder:ease-in-out" @compositionstart="isComposing = true" @compositionend="isComposing = false"