We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0b3f3 commit b065dc2Copy full SHA for b065dc2
src/vs/platform/quickinput/browser/quickInputTree.ts
@@ -1292,9 +1292,9 @@ export class QuickInputTree extends Disposable {
1292
1293
if (e.element instanceof QuickPickSeparatorElement) {
1294
foundSeparatorAsItem = true;
1295
- // If the separator is visible, then we should just focus it.
+ // If the separator is visible, then we should just reveal its first child so it's not as jarring.
1296
if (this._separatorRenderer.isSeparatorVisible(e.element)) {
1297
- this._tree.reveal(e.element);
+ this._tree.reveal(e.element.children[0]);
1298
} else {
1299
// If the separator is not visible, then we should
1300
// push it up to the top of the list.
0 commit comments