We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af2079 commit 7cd4740Copy full SHA for 7cd4740
web/contextMenu.ts
@@ -100,6 +100,11 @@ class ContextMenu {
100
e.stopPropagation();
101
});
102
103
+ menu.addEventListener('contextmenu', (e) => {
104
+ // The user right-clicked on the context menu => keep the context menu open
105
+ e.stopPropagation();
106
+ });
107
+
108
this.target = target;
109
if (this.target !== null && this.target.type !== TargetType.Repo) {
110
alterClass(this.target.elem, CLASS_CONTEXT_MENU_ACTIVE, true);
0 commit comments