Skip to content

🤖 fix: cap expanded queued message height and make it scrollable#3057

Merged
ethanndickson merged 1 commit intomainfrom
message-queue-91p1
Mar 24, 2026
Merged

🤖 fix: cap expanded queued message height and make it scrollable#3057
ethanndickson merged 1 commit intomainfrom
message-queue-91p1

Conversation

@ethanndickson
Copy link
Copy Markdown
Member

Summary

Cap the expanded queued message content at 40vh and make it scroll on overflow, so long queued messages no longer push the composer off-screen.

Background

When a queued message is expanded and its content exceeds viewport height, the entire ChatInputPane grows unbounded—the Edit/Send now buttons and the composer itself get displaced below the fold. This is the same class of overflow that AttachedReviewsPanel already handles with a viewport-relative height cap.

Implementation

Wrapped <UserMessageContent> inside the expanded QueuedMessageCard in an inner <div className="max-h-[40vh] overflow-y-auto"> scroll container. The action row (Edit / Send now) stays outside that wrapper so controls remain always visible while the message body scrolls independently.


Generated with mux • Model: anthropic:claude-opus-4-6 • Thinking: xhigh • Cost: $2.02

Wrap the UserMessageContent inside the expanded QueuedMessageCard in a
max-h-[40vh] overflow-y-auto container so long queued messages scroll
instead of pushing the composer off-screen. The Edit/Send now action
row stays outside the scroll region so controls remain always visible.
@ethanndickson ethanndickson enabled auto-merge March 24, 2026 03:36
@ethanndickson ethanndickson added this pull request to the merge queue Mar 24, 2026
Merged via the queue into main with commit 8a14c47 Mar 24, 2026
24 checks passed
@ethanndickson ethanndickson deleted the message-queue-91p1 branch March 24, 2026 03:47
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