diff --git a/src/app/components/dynamicdialog/dynamicdialog.ts b/src/app/components/dynamicdialog/dynamicdialog.ts index f446d072b6d..0e6f060f104 100755 --- a/src/app/components/dynamicdialog/dynamicdialog.ts +++ b/src/app/components/dynamicdialog/dynamicdialog.ts @@ -445,6 +445,8 @@ export class DynamicDialogComponent implements AfterViewInit, OnDestroy { } else if (this.footerViewChild) { // If the content section is empty try to focus on footer this.focus(this.footerViewChild.nativeElement); + } else if (!focusableElement && this.headerViewChild) { + this.focus(this.headerViewChild.nativeElement); } }