Repository navigation
fix: keep the panel thread's Copy button inside its message head's clip - #6745
Merged
Merged
Conversation
#6672 hung each panel message's controls 12px into the transcript's end room with a negative margin on the control room. The message head cuts what it holds a gap (8px) past its own end (surfaces.css), so the last 4px of Copy, the head's last control, fell outside the cut: a press there reached the transcript, and the aim sweep read Copy as a 0x0 target. The head itself now reaches into that room, so the controls end in the same place and the cut stands a gap past them. Drawn at rest, the floating-thread, reaction-palette and plan-thread-in-panel stills are pixel-identical to main. test_every_control_the_layer_offers_is_a_box_the_user_can_hit fails before and passes after, under both pointers. Closes #6743
max-sixty
added a commit
that referenced
this pull request
Nov 22, 2026
Main's #6745 fixes the panel thread's clipped Copy button by moving the negative end margin from the control room to the panel's message head, so the head's cut moves out with it. The branch had fixed the same defect with an `--lf-msg-controls-hang` variable read in three sheets; the merge keeps main's one-rule fix and drops the branch's.
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.
#6672 hung each panel message's react and copy 12px into the room the transcript keeps at its end, with a negative margin on
.lf-msg-control-room. But a message head cuts what it holds a gap (--lf-sp-2, 8px) past its own end (surfaces.css,:where(.lf-msg-head)'sclip-path). So the last 4px of Copy, the head's last control, fell outside the cut. A press there reached.lf-thread-transcript, and the nightly aim sweep read Copy as a 0×0 target:This was a visible control losing part of its box, not a hidden control the sweep should skip. In the panel at 1200px, Copy's box spans x 836–864, but a press at x 860–863 hit the transcript.
The negative margin now sits on the panel's
.lf-msg-headinstead of its control room. The head itself reaches into the end room, its controls stay its last item and end where #6672 put them, and the cut stands a gap past them. The margin card's heads are untouched, since the rule stays scoped to.lf-fp-messages.Verification
tests/journeys/test_render_controls.py::test_every_control_the_layer_offers_is_a_box_the_user_can_hitfails ond53e9994fand passes with the change, for both[False]and[True].leaf-dev stills --state floating-thread --state reaction-palette --state plan-thread-in-panelreports 0 px changed against main. At rest the panel draws the same. The change shows only where Copy's last 4px and its focus ring had been cut.Closes #6743 — automated triage