fix(composer): cover text leak below input card with background - #363
Merged
su-fen merged 2 commits intoAug 4, 2026
Merged
Conversation
StackCairn
marked this pull request as draft
August 3, 2026 01:50
Contributor
|
PR governance checks passed. Awaiting human review. |
Closed
FlowerRealm
marked this pull request as ready for review
August 3, 2026 01:54
StackCairn
marked this pull request as draft
August 3, 2026 01:54
FlowerRealm
marked this pull request as ready for review
August 3, 2026 01:56
The composer floats over the transcript. Content scrolling past it shows through the 16px gap between the card's bottom edge and the app's bottom border, so text visibly leaks out below the input box. Cover that strip with a background-colored, pointer-events-none layer.
FlowerRealm
force-pushed
the
realm/fix-composer-text-leak
branch
from
August 3, 2026 02:09
141cf49 to
9655811
Compare
su-fen
approved these changes
Aug 4, 2026
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.
Closes #364
Problem
The composer floats as an overlay over the chat transcript. Two spots let transcript text "leak" out below the input box:
pb-4). This is a scrollable transcript area with no cover, so content scrolling past it shows through underneath the input card.Fix
Add two background layers that match the chat background, both
pointer-events-none:1rem-tall layer at the bottom of the composer root covering the card-bottom-to-app-bottom strip.The input box reads as visually unchanged — the extra area is same-colored as the chat background — while text no longer shows through beneath it.
最爱的图片
Files
crates/agent-gui/src/pages/chat/components/ChatComposerBar.tsxVerification
biome checkandtsc --noEmitpass.