Skip to content
Permalink
Browse files

QAutocomplete: fix error with timing when typing immediately after fo…

…cus (#2361)

close #2358
  • Loading branch information...
pdanpdan authored and rstoenescu committed Jul 31, 2018
1 parent eccf565 commit b43d1cc7a575acc7fb78b86adb6246b45533ea84
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/components/autocomplete/QAutocomplete.js
@@ -174,7 +174,7 @@ export default {
},
__focusShowTrigger () {
clearTimeout(this.timer)
setTimeout(() => this.trigger(true), 100)
this.timer = setTimeout(() => this.trigger(true), 100)
},
__keyboardIsSelectableIndex (index) {
return index > -1 && index < this.computedResults.length && !this.computedResults[index].disable

0 comments on commit b43d1cc

Please sign in to comment.
You can’t perform that action at this time.