mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
Fix #67114 - don't open search items when context menu is invoked
This commit is contained in:
@@ -637,7 +637,7 @@ export class TreeResourceNavigator2<T, TFilterData> extends Disposable {
|
||||
}
|
||||
|
||||
private onSelection(e: ITreeEvent<T | null>): void {
|
||||
if (!e.browserEvent) {
|
||||
if (!e.browserEvent || e.browserEvent.type === 'contextmenu') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user