Skip to content

fix(sushi): keep context menus open after pointer release - #85

Merged
sebenns merged 3 commits into
mainfrom
fix/context-menu-pointer-dismissal
Oct 28, 2026
Merged

sebenns merged 3 commits into
mainfrom
fix/context-menu-pointer-dismissal

Conversation

@sebenns

@sebenns sebenns commented Oct 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Prevent trailing secondary-button release events from dismissing point-anchored context menus.
  • Handle release events targeting the document body after the overlay appears.
  • Preserve selection, outside-click dismissal, Escape and focus restoration.
  • Add a regression that opens the menu while the right button remains pressed.

Verification

  • Lint, formatting and strict type checks passed.
  • Package validation and consumer builds passed.
  • The held-click reproduction was checked in the in-app browser; trackpad behavior was confirmed manually.

@sebenns
sebenns merged commit 96b2bcb into main Oct 28, 2026
14 checks passed
@sebenns
sebenns deleted the fix/context-menu-pointer-dismissal branch October 28, 2026 07:45
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