Skip to content

Commit

Permalink
Fix #106303
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Sep 10, 2020
1 parent 03960a5 commit 8e5eed1
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,10 @@ export class SettingsEditor2 extends EditorPane {
super.setEditorVisible(visible, group);

if (!visible) {
this.searchWidget.onHide();
// Wait for editor to be removed from DOM #106303
process.nextTick(() => {
this.searchWidget.onHide();
});
}
}

Expand Down

0 comments on commit 8e5eed1

Please sign in to comment.