Add reset on esc
This commit is contained in:
parent
acd1b9b83a
commit
3fe439462d
|
@ -26,6 +26,7 @@
|
|||
@keydown.down.prevent="() => select(k, key + 1)"
|
||||
@click.prevent.stop="() => doAction(r.type, i)"
|
||||
@keyup.prevent.enter="() => doAction(r.type, i)"
|
||||
@keyup.prevent.esc="() => $refs.searchInput.focus()"
|
||||
>
|
||||
{{ i.title }}
|
||||
</button>
|
||||
|
|
Reference in New Issue