Add reset on esc

This commit is contained in:
kolaente 2021-05-30 16:30:11 +02:00
parent acd1b9b83a
commit 3fe439462d
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -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>