Skip to content

Commit cc9415c

Browse files
committed
Fix #106303
1 parent 3d6d718 commit cc9415c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,10 @@ export class SettingsEditor2 extends EditorPane {
343343
super.setEditorVisible(visible, group);
344344

345345
if (!visible) {
346-
this.searchWidget.onHide();
346+
// Wait for editor to be removed from DOM #106303
347+
setTimeout(() => {
348+
this.searchWidget.onHide();
349+
}, 0);
347350
}
348351
}
349352

0 commit comments

Comments
 (0)