Skip to content

Commit ab3769b

Browse files
committed
Restore right click context menu on inline tab
Fixes #260552
1 parent 3cbaddc commit ab3769b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/terminal/browser/terminalView.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ class SingleTerminalTabActionViewItem extends MenuEntryActionViewItem {
475475
this._elementDisposables.push(dom.addDisposableListener(this.element, dom.EventType.CONTEXT_MENU, e => {
476476
if (e.button === 2) {
477477
this._openContextMenu();
478+
e.stopPropagation();
478479
e.preventDefault();
479480
}
480481
}));

0 commit comments

Comments
 (0)