Multiple mode focus input refactor
parent
c979c12a37
commit
2e49ceb98b
|
@ -335,7 +335,6 @@ export default {
|
||||||
this.scrollInView(this.focusedOptionIndex);
|
this.scrollInView(this.focusedOptionIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.multiple && focus(this.$refs.focusInput);
|
|
||||||
this.$emit('focus', event);
|
this.$emit('focus', event);
|
||||||
},
|
},
|
||||||
onBlur(event) {
|
onBlur(event) {
|
||||||
|
@ -502,7 +501,7 @@ export default {
|
||||||
onContainerClick(event) {
|
onContainerClick(event) {
|
||||||
this.clicked = true;
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue