Skip to content

Commit

Permalink
Merge pull request #14110 from primefaces/issue-14064
Browse files Browse the repository at this point in the history
Fixed #14064 - AutoComplete | delete fix
  • Loading branch information
cetincakiroglu authored Nov 14, 2023
2 parents b280af2 + 2f17a21 commit 59db30f
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

1 comment on commit 59db30f

@vercel
Copy link

@vercel vercel bot commented on 59db30f Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.