Skip to content

Commit

Permalink
Fixed #14064 - AutoComplete | delete fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Nov 14, 2023
1 parent 7216049 commit 2f17a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr
return;
}

if (!this.overlayViewChild || !this.overlayViewChild.overlayViewChild.nativeElement.contains(event.target)) {
if (!this.overlayViewChild || !this.overlayViewChild.overlayViewChild?.nativeElement.contains(event.target)) {
DomHandler.focus(this.inputEL.nativeElement);
}
}
Expand Down

0 comments on commit 2f17a21

Please sign in to comment.