Commit fa5aa2b1 authored by baiyaaaaa's avatar baiyaaaaa Committed by 杨奕

stop autocomplete enter event bubbling

parent 49570f9e
......@@ -10,7 +10,7 @@
@focus="handleFocus"
@keydown.up.native="highlight(highlightedIndex - 1)"
@keydown.down.native="highlight(highlightedIndex + 1)"
@keydown.enter.native="select(highlightedIndex)"
@keydown.enter.stop.native="select(highlightedIndex)"
>
<template slot="prepend" v-if="$slots.prepend">
<slot name="prepend"></slot>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment