diff --git a/src/components/autocomplete/AutoComplete.vue b/src/components/autocomplete/AutoComplete.vue index 34673af12..f33d8c8d6 100755 --- a/src/components/autocomplete/AutoComplete.vue +++ b/src/components/autocomplete/AutoComplete.vue @@ -471,8 +471,7 @@ export default { this.$emit('item-select', { originalEvent: event, value: option }); - this.$refs.focusInput.focus(); - this.hide(); + this.hide(true); }, onOptionMouseMove(event, index) { if (this.focusOnHover) { diff --git a/src/components/dropdown/Dropdown.vue b/src/components/dropdown/Dropdown.vue index 103724de0..8625c9d32 100755 --- a/src/components/dropdown/Dropdown.vue +++ b/src/components/dropdown/Dropdown.vue @@ -369,8 +369,7 @@ export default { return; } else if (!this.overlay || !this.overlay.contains(event.target)) { - this.overlayVisible ? this.hide() : this.show(); - this.$refs.focusInput.focus(); + this.overlayVisible ? this.hide(true) : this.show(true); } }, onClearClick(event) { @@ -392,10 +391,9 @@ export default { }, onOptionSelect(event, option) { const value = this.getOptionValue(option); - this.updateModel(event, value); - this.$refs.focusInput.focus(); - this.hide(); + this.updateModel(event, value); + this.hide(true); }, onOptionMouseMove(event, index) { if (this.focusOnHover) { diff --git a/src/components/multiselect/MultiSelect.vue b/src/components/multiselect/MultiSelect.vue index 860f72c9e..170272ad6 100755 --- a/src/components/multiselect/MultiSelect.vue +++ b/src/components/multiselect/MultiSelect.vue @@ -403,8 +403,7 @@ export default { } if (!this.overlay || !this.overlay.contains(event.target)) { - this.overlayVisible ? this.hide() : this.show(); - this.$refs.focusInput.focus(); + this.overlayVisible ? this.hide(true) : this.show(true); } }, onFirstHiddenFocus(event) {