feat(FN-4189): lift chat input height cap and add autosize behavior

Lifts the chat input height cap and enables auto-resize as the user types, improving the chat UX in `@fusion/dashboard`. Includes test coverage for the autosize behavior and a changeset for the `@runfusion/fusion` package.

Fusion-Task-Id: FN-4189
This commit is contained in:
Fusion
2026-05-12 14:36:42 -07:00
committed by gsxdsm
parent d518bcf516
commit 9ac213a16a
4 changed files with 42 additions and 4 deletions

View File

@@ -1302,8 +1302,11 @@
font-size: 14px;
font-family: inherit;
line-height: 1.4;
max-height: 120px;
max-height: 320px;
min-height: 40px;
/* Mobile keeps the desktop cap because the surrounding chat-input-area
and thread flex bounds already prevent the composer from overtaking
the message pane before textarea scrolling engages. */
/* touch-action: manipulation allows tap-to-focus (so iOS doesn't
auto-dismiss the keyboard between gesture frames) and blocks
double-tap zoom + pan/zoom gestures. We previously tried `none`