select into dialog `esc` stopper

without modifier `.stop` after closing popper dialog also closing.
pull/3526/merge
patriciussanctus 2017-05-29 15:29:54 +03:00 committed by 杨奕
parent b98a042541
commit 3b3b3377b5
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
@keydown.down.prevent="navigateOptions('next')"
@keydown.up.prevent="navigateOptions('prev')"
@keydown.enter.prevent="selectOption"
@keydown.esc.prevent="visible = false"
@keydown.esc.stop.prevent="visible = false"
@keydown.delete="deletePrevTag"
v-model="query"
:debounce="remote ? 300 : 0"
@ -57,7 +57,7 @@
@keydown.native.down.prevent="navigateOptions('next')"
@keydown.native.up.prevent="navigateOptions('prev')"
@keydown.native.enter.prevent="selectOption"
@keydown.native.esc.prevent="visible = false"
@keydown.native.esc.stop.prevent="visible = false"
@keydown.native.tab="visible = false"
@paste.native="debouncedOnInputChange"
@mouseenter.native="inputHovering = true"