Repository navigation
Keep an open margin options row seated - #2705
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 13, 2026
[Main CI run 38333313254](https://github.com/max-sixty/leaf/actions/runs/38333313254) failed when one margin pin covered the first 5 px of a board's drag grip and two suggestion pins stood too far from their targets. #2705 made an open options row hold its seat so a user's expanded pin stayed reachable, but `optionsOpen` also marks ordinary peers shown by default. Those resting rows then kept an old seat even when it covered a control. This change marks an explicit expansion separately and holds the seat for that expansion, hover, focus, or an open thread card. A resting pin can move to a clear seat while the behavior #2705 added remains. The overlap test and both suggestion-pin cases failed before this change and pass after it. The original folded-pin expansion test from #2705, retained margin controls, side-surface handoff, and 413 runtime tests pass; the targeted margin-model and placement tests pass after the final field-name refinement. Co-authored-by: leaf-agent <[email protected]>
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.
The main CI run found that opening a narrow suggestion pin's options with
eimmediately hid the entire cluster and moved focus to the page body. #2680's seating pass preserves a held pin when no clear resting seat exists, but its held-row selector omitted a row whose options are open. The layout now treats that open face as held, so its controls remain reachable through the gesture.The failing browser node ID reproduced before this change and passes after it. The neighboring test that requires a resting pin with no clear seat to stay withheld also passes.
pnpm run test:runtimepassed (392 tests).