added scroll to top button

This commit is contained in:
booploops 2021-12-10 01:04:47 -08:00
parent e9ae1cbe2f
commit 630fc0e625
4 changed files with 58 additions and 4 deletions

View file

@ -131,7 +131,7 @@
<input type="search" spellcheck="false" @click="showSearch()"
@focus="search.showHints = true"
@blur="setTimeout(()=>{search.showHints = false}, 100)"
v-on:keyup.enter="searchQuery()"
v-on:keyup.enter="searchQuery();search.showHints = false"
@change="showSearch();" @input="getSearchHints()" placeholder="Search..."
v-model="search.term"
class="search-input">