diff --git a/src/app/components/dropdown/dropdown.ts b/src/app/components/dropdown/dropdown.ts index c12794aaace..2954d1e00e4 100755 --- a/src/app/components/dropdown/dropdown.ts +++ b/src/app/components/dropdown/dropdown.ts @@ -1438,10 +1438,14 @@ export class Dropdown implements OnInit, AfterViewInit, AfterContentInit, AfterV } if (isFocus) { if (this.focusInputViewChild) { - DomHandler.focus(this.focusInputViewChild?.nativeElement); + setTimeout(() => { + DomHandler.focus(this.focusInputViewChild?.nativeElement); + }); } if (this.editable && this.editableInputViewChild) { - DomHandler.focus(this.editableInputViewChild?.nativeElement); + setTimeout(() => { + DomHandler.focus(this.editableInputViewChild?.nativeElement); + }); } } this.cd.markForCheck();