From 3ade9be46c0f862264652e3cf079ce1e5594c0c6 Mon Sep 17 00:00:00 2001 From: maruthumj Date: Mon, 1 Apr 2024 20:00:20 +0530 Subject: [PATCH] autocomplete issue fix --- src/app/components/autocomplete/autocomplete.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/autocomplete/autocomplete.ts b/src/app/components/autocomplete/autocomplete.ts index 82e2c0301e6..c4c6f66a02a 100755 --- a/src/app/components/autocomplete/autocomplete.ts +++ b/src/app/components/autocomplete/autocomplete.ts @@ -1497,7 +1497,7 @@ export class AutoComplete implements AfterViewChecked, AfterContentInit, OnDestr this.focusedOptionIndex.set(index); this.scrollInView(); - if (this.selectOnFocus || this.autoHighlight) { + if (this.selectOnFocus) { this.onOptionSelect(event, this.visibleOptions()[index], false); } }