Skip to content

Commit

Permalink
return focus after closing (microsoft#7155)
Browse files Browse the repository at this point in the history
  • Loading branch information
PankajBhojwani authored Apr 6, 2022
1 parent 646503b commit 5e0f39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/nodejs/adaptivecards-designer/src/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export abstract class Dialog {
this.onClose(this);
}
// Removing the focus action on close, it has been handled via onClose method of Dialog consume place.
// this._originalFocusedElement.focus();
this._originalFocusedElement.focus();
this._originalFocusedElement = null;
}
}
Expand Down

0 comments on commit 5e0f39f

Please sign in to comment.