feat: increase input auto-resize to 200px max#708
Conversation
The chat input already auto-resizes, but capped at 120px (~3 lines). Bump to 200px (~6 lines) so longer messages are more comfortable to compose before the scrollbar kicks in.
Greptile SummaryThis PR increases the chat input textarea's auto-resize cap from 120px (~3 lines) to 200px (~6 lines) for a more comfortable composing experience. Both the CSS
Confidence Score: 4/5Safe to merge after fixing the missed autoResize cap; the CSS change is correct and the only functional gap is inconsistent textarea height on history navigation and programmatic text injection. The CSS and the primary typing path are updated correctly. The autoResize callback — used by input history navigation and the imperative setText handle — still clamps at the old 120px, so restoring a long message from history or having another component inject text will produce a shorter textarea than the user would expect after typing the same text directly. src/renderer/src/screens/Chat/ChatInput.tsx — the autoResize callback at line 111 needs the same 120 → 200 update. Important Files Changed
|
Feature
Increase the chat input textarea auto-resize cap from 120px (about 3 lines) to 200px (about 6 lines). Longer messages can be composed more comfortably before the scrollbar appears.
Changes
.chat-inputmax-height: 120px → 200px