From c2f2d5bb113332a0e3787757f57ca1d4e65c8858 Mon Sep 17 00:00:00 2001 From: Sai Karthik Date: Sun, 26 Jun 2022 14:27:12 +0530 Subject: [PATCH] feat: Ctrl+K will focus on search bar --- src/components/NavBar.vue | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 0c90e9d1..352c33b1 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -17,6 +17,7 @@ class="input !w-72 !h-10" type="text" role="search" + ref="videoSearch" :title="$t('actions.search')" :placeholder="$t('actions.search')" @keyup="onKeyUp" @@ -72,7 +73,7 @@ +