show page first and then do the layout (#14307)

This commit is contained in:
Alan Ren
2021-02-16 14:41:39 -08:00
committed by GitHub
parent c84e092473
commit 56a6557c6e

View File

@@ -189,8 +189,8 @@ export class WizardModal extends Modal {
this._dialogPanes.forEach((dialogPane, page) => {
if (page === pageToShow) {
dialogPaneToShow = dialogPane;
dialogPane.layout(true);
dialogPane.show(focus);
dialogPane.layout(true);
} else {
dialogPane.hide();
}