From 3fe439462d3669f4c13958cce1104bc5447d1298 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 30 May 2021 16:30:11 +0200 Subject: [PATCH] Add reset on esc --- src/components/quick-actions/quick-actions.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/quick-actions/quick-actions.vue b/src/components/quick-actions/quick-actions.vue index 5deb2c22f..d9838f1b4 100644 --- a/src/components/quick-actions/quick-actions.vue +++ b/src/components/quick-actions/quick-actions.vue @@ -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 }}