Skip to content

Keep the thread walk aside still when drafting reserves Send - #3733

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-39930571983-aside-stability
Oct 23, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-39930571983-aside-stability

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

When a thread walk leaves its position at the reply field's end, starting a draft makes the field reserve 26 px for Send. The field and row stay fixed, but the placeholder's usable width shrinks and moves the walk words left without a corresponding user gesture. Reserve that same end room whenever the aside is shown, so the words hold their place through the drafting change.

The shift watcher reported the same 26 px move in two cases of main run 39930571983. Both reproduced locally before the CSS change and passed afterward; test_a_thread_s_field_says_its_reply_beside_the_walk_s_position also passed. I rebuilt the committed browser CSS with pnpm run build:browser.

@leaf-agent
leaf-agent merged commit 16d5fb3 into main Oct 23, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39930571983-aside-stability branch October 23, 2026 11:07
max-sixty added a commit that referenced this pull request Oct 23, 2026
Main's rewrite-in-place (#3737) and the thread walk's aside (#3733) read
the old sizes; they read the line now. The aside shares the drafting
rule's Send room, so the two can't drift. Discard and Save, positioned
relatively to hold their reach, clear the message control's anchored
offsets, which had lifted them 6px and cut Save's focus ring.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
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