Skip to content

Keep an open folded margin pin at its pressed position - #1909

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-37448602643-margin
Oct 6, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-37448602643-margin

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

Opening a folded margin pin moved its toggle 96 pixels away from the finger in the failed main run. The margin layout introduced in #1890 seats a folded pin as one control, but the open row contains its options too. The layout wrote the one-control seat's left edge to the wider row, placing the toggle to the right of its original position. It now keeps that narrow seat for collision packing while placing the wider row from the seat's right edge. The existing phone browser test fails before this change and passes after it, including the hit test for the opened actions.

Two thread-card checks in the same run required the card's left edge to be exactly eight pixels after its pin. The card is clear of the pin and reaches the viewport's right edge, but its natural width leaves extra space after the pin. Their assertions now check clearance while retaining width, viewport, clipping, and scroll-following checks.

Verified locally: the three named margin browser tests pass, and npm run test:runtime passes.

@leaf-agent
leaf-agent merged commit 1045f9d into main Oct 6, 2026
4 of 5 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-37448602643-margin branch October 6, 2026 14:18
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