Commit 04a61135 authored by baiyaaaaa's avatar baiyaaaaa Committed by 杨奕

fix keydown event not bubble

parent f19cc4c7
......@@ -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"
>
<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