fix(frontend): fix new session textarea overflow in Firefox#1021
Merged
Gkrumbach07 merged 1 commit intomainfrom Mar 25, 2026
Merged
fix(frontend): fix new session textarea overflow in Firefox#1021Gkrumbach07 merged 1 commit intomainfrom
Gkrumbach07 merged 1 commit intomainfrom
Conversation
The textarea uses `field-sizing: content` (via Tailwind's `field-sizing-content`) to auto-grow, but Firefox versions that lack support keep the textarea at its fixed min-height. With only ~52px of usable space (100px minus pb-12 toolbar padding), long text overflows visually into the toolbar. Adding `overflow-y: auto` ensures content scrolls instead of overflowing when the textarea cannot auto-grow. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA styling update to the session prompt textarea component that adds Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
jeremyeder
pushed a commit
to jeremyeder/platform
that referenced
this pull request
Mar 26, 2026
…code#1021) ## Summary - Adds `overflow-y: auto` to the new session textarea to prevent text from visually overflowing into the bottom toolbar in Firefox - Firefox versions lacking `field-sizing: content` support keep the textarea at fixed `min-h-[100px]`, leaving only ~52px of usable space after the `pb-12` toolbar padding — long text overflows instead of scrolling ## Test plan - [ ] Open the new session view in Firefox - [ ] Type or paste long multi-line text into the textarea - [ ] Verify text scrolls within the textarea instead of overflowing into the toolbar - [ ] Verify Chrome/Safari behavior is unchanged (textarea still auto-grows) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Ambient Code Bot <bot@ambient-code.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
overflow-y: autoto the new session textarea to prevent text from visually overflowing into the bottom toolbar in Firefoxfield-sizing: contentsupport keep the textarea at fixedmin-h-[100px], leaving only ~52px of usable space after thepb-12toolbar padding — long text overflows instead of scrollingTest plan
🤖 Generated with Claude Code