From 2e49ceb98b33c8fccb7c051e8577ef90eb2a52c4 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Mon, 7 Oct 2024 12:25:03 +0300 Subject: [PATCH] Multiple mode focus input refactor --- packages/primevue/src/autocomplete/AutoComplete.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/primevue/src/autocomplete/AutoComplete.vue b/packages/primevue/src/autocomplete/AutoComplete.vue index 470c7e101..6634ef602 100755 --- a/packages/primevue/src/autocomplete/AutoComplete.vue +++ b/packages/primevue/src/autocomplete/AutoComplete.vue @@ -335,7 +335,6 @@ export default { this.scrollInView(this.focusedOptionIndex); } - this.multiple && focus(this.$refs.focusInput); this.$emit('focus', event); }, onBlur(event) { @@ -502,7 +501,7 @@ export default { onContainerClick(event) { this.clicked = true; - if (this.disabled || this.searching || this.loading || this.isInputClicked(event) || this.isDropdownClicked(event)) { + if (this.disabled || this.searching || this.loading || this.isDropdownClicked(event)) { return; }