2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-07 07:12:23 +03:00

Fixed unresponsive vue-select after clicking custom no-options (#703)

This commit is contained in:
Marek Meyer
2018-11-15 16:36:20 +01:00
committed by Marek Meyer
parent e0584cda96
commit 88ed8d4819
2 changed files with 9 additions and 7 deletions
+6 -7
View File
@@ -969,15 +969,14 @@
* @return {void}
*/
onSearchBlur() {
if (this.mousedown && !this.searching) {
if(this.mousedown){
this.mousedown = false
} else {
if (this.clearSearchOnBlur) {
this.search = ''
}
this.open = false
this.$emit('search:blur')
}
if (this.clearSearchOnBlur) {
this.search = ''
}
this.open = false
this.$emit('search:blur')
},
/**