Skip to content

Commit 6fe760b

Browse files
Allow widget to have focus (microsoft#184000)
So that selecting non-code text works. Fixes microsoft/vscode-internalbacklog#4294
1 parent c4cfd83 commit 6fe760b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/platform/quickinput/browser/quickInput.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,6 +1364,7 @@ export class QuickInputController extends Disposable {
13641364
progressBar.getContainer().classList.add('quick-input-progress');
13651365

13661366
const widget = dom.append(container, $('.quick-input-html-widget'));
1367+
widget.tabIndex = -1;
13671368

13681369
const listId = this.idPrefix + 'list';
13691370
const list = this._register(new QuickInputList(container, listId, this.options));

0 commit comments

Comments
 (0)