From 04a611353b7103dcba08c4325baeec3dd1e383d3 Mon Sep 17 00:00:00 2001 From: baiyaaaaa Date: Wed, 31 May 2017 00:17:35 +0800 Subject: [PATCH] fix keydown event not bubble --- packages/autocomplete/src/autocomplete.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/autocomplete/src/autocomplete.vue b/packages/autocomplete/src/autocomplete.vue index b3dd7863..660081ad 100644 --- a/packages/autocomplete/src/autocomplete.vue +++ b/packages/autocomplete/src/autocomplete.vue @@ -17,7 +17,7 @@ @blur="handleBlur" @keydown.up.native.prevent="highlight(highlightedIndex - 1)" @keydown.down.native.prevent="highlight(highlightedIndex + 1)" - @keydown.enter.stop.native="handleKeyEnter" + @keydown.enter.native.prevent="handleKeyEnter" >