feat(FN-5322): fix main chat composer flex sizing and expand behavior

Fixes the main chat composer flex sizing so the input area properly expands (FN-5322), with regression guards in the autosize test suite and a new browser layout smoke script covering the composer expand behavior.

Fusion-Task-Id: FN-5322
This commit is contained in:
Fusion (runfusion.ai)
2026-05-20 07:18:52 -07:00
committed by gsxdsm
parent cee2c1385a
commit 232a9fea86
4 changed files with 94 additions and 1 deletions

View File

@@ -1395,7 +1395,11 @@
}
.chat-input-textarea {
flex: 1;
/* FN-5322: this textarea sits directly inside `.chat-input-wrapper`, which
is a column flex container (via AgentMentionPopup.css). Keep it out of
vertical flex sizing so the inline autosize height from ChatView.tsx is
honored instead of collapsing back toward the one-line minimum. */
flex: 0 0 auto;
resize: none;
border: 1px solid var(--border);
border-radius: 12px;