Skip to content

Commit 4f7f603

Browse files
committed
fix(chat): make home chat scroll on linux
WebKitGTK (Tauri's Linux webview) strictly enforces flex items' default min-height: auto, so flex-1 + overflow-y-auto never scrolled — the message list grew with content and pushed the composer off-screen. Adding min-h-0 lets the flex item shrink below content height so overflow-y-auto actually engages. No-op on Chromium/macOS where this was already permissive. Resolves: [2026-05-24] — Fix home chat scroll on Linux (Tauri/WebKitGTK)
1 parent becaef8 commit 4f7f603

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/desktop-ui/components/chat/chat-message-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function ChatMessageList({
4343
if (messages.length === 0 && !showThinking) return null;
4444

4545
return (
46-
<div className={cn("flex-1 overflow-y-auto px-4 py-6", className)}>
46+
<div className={cn("min-h-0 flex-1 overflow-y-auto px-4 py-6", className)}>
4747
<div className="mx-auto max-w-3xl space-y-4">
4848
{messages.map((msg, i) => (
4949
<ChatMessage key={i} message={msg} />

0 commit comments

Comments
 (0)