Skip to content

Commit

Permalink
Merge pull request #189659 from microsoft/merogge/fix-bug
Browse files Browse the repository at this point in the history
focus the accessible view on escape of the symbol quickpick
  • Loading branch information
meganrogge authored Aug 4, 2023
2 parents 23305b2 + 51525fc commit cd1af5b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,12 @@ class AccessibleViewSymbolQuickPick {
quickPick.onDidAccept(() => {
this._accessibleView.showSymbol(provider, quickPick.selectedItems[0]);
});
quickPick.onDidHide(() => {
if (quickPick.selectedItems.length === 0) {
// this was escaped, so refocus the accessible view
this._accessibleView.show(provider);
}
});
}
}

Expand Down

0 comments on commit cd1af5b

Please sign in to comment.