fix(canvas): cap CONTEXT.md description textarea height#3558
Open
adboio wants to merge 2 commits into
Open
Conversation
The quill Textarea auto-grows with its content and has no max-height, so a long description in the "Create your context.md" dialog expanded the modal until the footer's Create button was pushed off-screen — leaving ⌘/Ctrl+Enter as the only way to submit. Cap the field at 40vh and scroll within it. Shared by both the describe-mode dialog and the create-mode step-two dialog. Generated-By: PostHog Code Task-Id: bce0c26e-84ce-4af0-b891-652a74506f21
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Generated-By: PostHog Code Task-Id: bce0c26e-84ce-4af0-b891-652a74506f21
adboio
marked this pull request as ready for review
July 17, 2026 23:09
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.
Problem
When creating a channel's CONTEXT.md with an agent, the description textarea in the "Create your context.md" dialog grows without limit as you type. Because quill's
Textareaauto-grows to fit its content (field-sizing: content) and has nomax-height, a long enough description expands the modal past the viewport and pushes the footer's Create button off-screen — leaving ⌘/Ctrl+Enter as the only way to submit (which most users won't discover).Why: reported by a user hitting this in the Channels (project-bluebird) flow — the submit button becomes unclickable for longer descriptions.
Changes
Textareaat40vhwithoverflow-y-autoso it scrolls internally instead of expanding the dialog. The field is shared by both the describe-mode dialog and the create-mode step-two dialog, so both are fixed.How did you test this?
classNameon a component that already forwardsclassNameto the underlying quill primitive; no behavior beyond height/overflow changes.Automatic notifications
Created with PostHog Code