diff --git a/src/vs/workbench/browser/parts/quickinput/quickInputList.ts b/src/vs/workbench/browser/parts/quickinput/quickInputList.ts index c230e87ad4538a13096de2d1bc8ad4ead7f6792d..558a89487edc9b6d19643403b744e4ccde1d3d0a 100644 --- a/src/vs/workbench/browser/parts/quickinput/quickInputList.ts +++ b/src/vs/workbench/browser/parts/quickinput/quickInputList.ts @@ -279,6 +279,12 @@ export class QuickInputList { break; } })); + this.disposables.push(this.list.onMouseDown(e => { + if (e.browserEvent.button !== 2) { + // Works around / fixes #64350. + e.browserEvent.preventDefault(); + } + })); this.disposables.push(dom.addDisposableListener(this.container, dom.EventType.CLICK, e => { if (e.x || e.y) { // Avoid 'click' triggered by 'space' on checkbox. this._onLeave.fire();