From 80610d880e0e5b741600c816332da2fbade79b64 Mon Sep 17 00:00:00 2001 From: Francesco Date: Mon, 27 Jul 2026 08:31:59 +0200 Subject: [PATCH] fix(ui): open FloatingGenerateBox selects upward to prevent clipping (fixes #928) (#936) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The floating generate box is fixed at the bottom of the viewport, so all of its Select dropdowns (voice profile, language, engine, effects) opened downward into — or beyond — the window edge. Add side="top" to each SelectContent so the menus appear above their trigger instead. Co-authored-by: Claude Sonnet 4.6 --- app/src/components/Generation/EngineModelSelector.tsx | 2 +- app/src/components/Generation/FloatingGenerateBox.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/components/Generation/EngineModelSelector.tsx b/app/src/components/Generation/EngineModelSelector.tsx index 7f4f600b..d9856421 100644 --- a/app/src/components/Generation/EngineModelSelector.tsx +++ b/app/src/components/Generation/EngineModelSelector.tsx @@ -139,7 +139,7 @@ export function EngineModelSelector({ form, compact, selectedProfile }: EngineMo - + {availableOptions.map((opt) => ( {opt.label} diff --git a/app/src/components/Generation/FloatingGenerateBox.tsx b/app/src/components/Generation/FloatingGenerateBox.tsx index 7618490b..d09d489f 100644 --- a/app/src/components/Generation/FloatingGenerateBox.tsx +++ b/app/src/components/Generation/FloatingGenerateBox.tsx @@ -555,7 +555,7 @@ export function FloatingGenerateBox({ - + {profiles?.map((profile) => ( {profile.name} @@ -582,7 +582,7 @@ export function FloatingGenerateBox({ - + {engineLangs.map((lang) => ( {lang.label} @@ -610,7 +610,7 @@ export function FloatingGenerateBox({ - + {t('generation.effects.none')}