Repository navigation
Studio: the full-size round opens after the press that selected it is released - #1055
Merged
Merged
Conversation
… released A row selects on pointerdown, so the round's dialog opened under the held button; the release landed outside it and closedby="any" light-dismissed it ~90 ms later. The dialog now waits for the release (#998 regression). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Summary
Switching to a session with an open round made the full-size window flash open and vanish. A row selects on
pointerdown, soshowModal()ran while the button was still down; the release landed outside the dialog andclosedby="any"(Chrome light dismiss) closed it. Introduced by #998 (709159194).Root cause evidence from a DevTools probe on the real page: pointerdown at 24459 ms, dialog open at 24505,
closeevent at 24548, and noclose()call from page code.Evidence
a round that opens while a pointer press is down opens after its release, not under itfails:not opened under the press.After: the same test passes;
npm run checkis green (1108 node tests pass, 1 skipped).Outside review
skipped: no risk match. Correctness pass: reviewed by hand; one low risk noted below.Merge Danger
Door: two-way
Blast Radius: the full-size round window only. If a
pointerupnever arrives (e.g. a Mac right-click context menu),pressedstays true and the dialog waits for the next release before opening.🤖 Generated with Claude Code