Explorar o código

Autocomplete: hide suggestions on blur

Leopoldthecoder %!s(int64=8) %!d(string=hai) anos
pai
achega
09e02e703d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/autocomplete/src/autocomplete.vue

+ 1 - 0
packages/autocomplete/src/autocomplete.vue

@@ -17,6 +17,7 @@
       @keydown.up.native.prevent="highlight(highlightedIndex - 1)"
       @keydown.down.native.prevent="highlight(highlightedIndex + 1)"
       @keydown.enter.native.prevent="handleKeyEnter"
+      @keydown.native.tab="close"
     >
       <template slot="prepend" v-if="$slots.prepend">
         <slot name="prepend"></slot>