Skip to content

Comments

feat(web): Add max height with scroll to chat input box#913

Merged
brendan-kellam merged 2 commits intomainfrom
brendan/chatbox-max-height
Feb 19, 2026
Merged

feat(web): Add max height with scroll to chat input box#913
brendan-kellam merged 2 commits intomainfrom
brendan/chatbox-max-height

Conversation

@brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Feb 19, 2026

Summary

  • Adds max-h-64 (256px) and overflow-y-auto to the chat Editable component
  • Prevents the chat box from growing unboundedly when a user pastes a large blob of text

Test plan

  • Paste a large blob of text into the chat box and verify it scrolls rather than expanding

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Bug Fixes
    • Fixed an issue where the chat input box would expand infinitely when large amounts of text were pasted into it. The input field now enforces a maximum height limit with automatic vertical scrolling functionality, allowing users to easily manage large text entries without causing the interface to expand uncontrollably.

Prevents the chat box from growing unboundedly when a user pastes a large blob of text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

This comment has been minimized.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 19, 2026

Caution

Review failed

The pull request is closed.

Walkthrough

A CSS class modification adds maximum height and vertical scrolling to the chat input editor, preventing unbounded expansion when large text is pasted. A changelog entry documents this fix.

Changes

Cohort / File(s) Summary
Chat Input Height Fix
CHANGELOG.md, packages/web/src/features/chat/components/chatBox/chatBox.tsx
Added max-h-64 and overflow-y-auto classes to the Editable component's className to constrain input height and enable vertical scrolling. Updated changelog to document the fix.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

✨ Finishing Touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch brendan/chatbox-max-height

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@brendan-kellam brendan-kellam merged commit 917012d into main Feb 19, 2026
9 checks passed
@brendan-kellam brendan-kellam deleted the brendan/chatbox-max-height branch February 19, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant