Skip to content

Commit

Permalink
Update autocomplete.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Mar 11, 2021
1 parent 5e87b28 commit fb32ad2
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 @@ -458,7 +458,7 @@ export class AutoComplete implements AfterViewChecked,AfterContentInit,OnDestroy
if (this.multiInputEL || this.inputEL) {
let hasFocus = this.multiple ?
this.multiInputEL.nativeElement.ownerDocument.activeElement == this.multiInputEL.nativeElement :
this.inputEL.nativeElement.ownerDocument.activeElement == this.inputEL.nativeElement ;
this.inputEL.nativeElement.ownerDocument.activeElement == this.inputEL.nativeElement;

if (!this.overlayVisible && hasFocus) {
this.overlayVisible = true;
Expand Down

0 comments on commit fb32ad2

Please sign in to comment.