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 7defe64 commit 8721752Copy full SHA for 8721752
src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts
@@ -907,7 +907,8 @@ export class SettingsEditor2 extends EditorPane {
907
}));
908
909
this._register(this.settingsTree.onDidFocus(() => {
910
- if (document.activeElement?.classList.contains('monaco-list')) {
+ const classList = document.activeElement?.classList;
911
+ if (classList && classList.contains('monaco-list') && classList.contains('settings-editor-tree')) {
912
this._currentFocusContext = SettingsFocusContext.SettingTree;
913
this.settingRowFocused.set(true);
914
}
0 commit comments