[PR #9057] Prevent command palette from closing on right click #27406

Open
opened 2026-01-31 09:21:47 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/9057

State: closed
Merged: Yes


The command palette is ephemeral and is dismissed if the focus
moves to an element which is not the palette's descendant.

Unfortunately, this breaks the (right-click) context menu,
as it is not a child of the palette
(popups are hosted on a separate root element).

**Original Pull Request:** https://github.com/microsoft/terminal/pull/9057 **State:** closed **Merged:** Yes --- The command palette is ephemeral and is dismissed if the focus moves to an element which is not the palette's descendant. Unfortunately, this breaks the (right-click) context menu, as it is not a child of the palette (popups are hosted on a separate root element).
claunia added the pull-request label 2026-01-31 09:21:47 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#27406