Repository navigation
Conversation
A card shows two lines of its text and opens to eight when hovered. The button bar sits along the card's bottom edge, so on a card with buttons the bar slid down as the pointer reached for it, and the click missed or landed on the text. A card with buttons now shows its text open from the start, so hover has nothing to grow. Those are also the cards read before choosing. The rule lives in Delivery.bodyOpen with a test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; no actionable defects were found. SummaryCards with buttons now open their text immediately, so hovering does not grow the text and push the buttons down.
Reviewed the code paths without running tests or capturing the UI. Reviews (2) · Last reviewed commit: "fix: keep notification buttons still on ..." · Reviewed by Greptile |
|
Codex High reproduced this on a disposable Omarchy ISO worker: hovering a six-line notification moved its buttons down 64 px on No concrete defect found. Opus 5.5 High and muse-wonder via pi (thinking high) agreed with this review; independence is not guaranteed. This addresses body growth separately from the edge-hover flicker in #19223 and #18683. The remaining call is whether every card with buttons should show up to eight lines at rest, including copy-code cards. Waiting on the maintainer’s decision on that layout policy.
The same notification and crop are used throughout; the sequence checks movement caused by body expansion. |
|
@dhh @omarchybot keeping notification buttons still when hover opens the text is in #21030. A card with buttons opens its text immediately, so the hover growth does not walk the buttons out from under the pointer. The logic test still asserts that. Please consider closing this as superseded only after #21030 is accepted. Leaving the close to you. |
|
Codex High and Opus 5.5 High compared the two diffs. #21030 carries the same button-stability patch, test, and documentation in The maintainer can now choose whether to take this fix on its own or as part of the integration. The layout decision in either case is whether cards with buttons should show up to eight lines at rest. |




What changes
A card shows two lines of its text and opens to eight on hover (when it is the only card) or when its deck opens. The button bar sits along the card's bottom edge, so on a card with buttons and a longer body the bar slides down as the pointer reaches for it: the click misses, or lands on the text and activates the card instead. A sign-in approval from Chrome (Approve / Deny under a few lines of detail) is where I keep hitting it.
A card with buttons now shows its text open from the start, so hover has nothing to grow and the bar stays where the pointer is heading. Those are also the cards you read before choosing. Cards without buttons are unchanged. The rule moves to
Delivery.bodyOpen, with a test, anddocs/notifications.mdsays so.This is a different movement from #19223 / #18683 / #17785 / #18353, which are about the bar hiding and showing at a card's edge; this one is the body growing under a pointer that is already on the card. The two together are what it takes for the buttons to stay still: with only this change, the bar still flickers at the bottom edge as #19223 describes.
Verification
bash test/shell.d/notifications-test.sh: passes. The new check inlogic.cjsfails onquattro(noDelivery.bodyOpen) and passes here.bash test/shell.d/qml-text-format-test.sh: passes.--actionbuttons, captured at rest and afteromarchy-shell notifications expand(hovering the front card as the pointer would). Before: the bar drops about 48 px on hover. After: the card is open at rest and the bar does not move. A second toast from another sender below it was unaffected.--actionbuttons by hand: the buttons stay put while the pointer moves over them and along the bottom edge, and a card without buttons still opens on hover as before.Screenshots
Top row before, bottom row after; left at rest, right hovered.
🤖 Generated with Claude Code