From f2d8f9865b200b538ba051285dec51d274863724 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Mon, 21 Sep 2020 18:23:59 -0500 Subject: [PATCH] Scroll to input on keyup --- components/search.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/search.vue b/components/search.vue index 9a182ae..076ad1f 100644 --- a/components/search.vue +++ b/components/search.vue @@ -11,8 +11,7 @@ placeholder="Type to Search" autofocus autocomplete="off" - @keyup="queryResults(query)" - @focus="scrollInputToTop()" + @keyup="queryResults(query); scrollInputToTop()" >