Repository navigation
Keep an open folded margin pin at its pressed position - #1909
Merged
Merged
Conversation
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.
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:runtimepasses.