mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-30 09:35:39 -05:00
auto focus message area (#22743)
This commit is contained in:
@@ -613,6 +613,7 @@ export abstract class Modal extends Disposable implements IThemable {
|
||||
if (visible) {
|
||||
if (this._useDefaultMessageBoxLocation) {
|
||||
DOM.prepend(this._modalContent!, this._messageElement!);
|
||||
this.setInitialFocusedElement();
|
||||
}
|
||||
} else {
|
||||
// only do the removal when the messageElement has parent element.
|
||||
|
||||
Reference in New Issue
Block a user