Skip to content

Commit

Permalink
feat: autofocus search
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Feb 25, 2021
1 parent c76ba08 commit e80cea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/pages/posts/navigation/search/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
class="flex-1 mx-2 overflow-hidden font-light outline-none text-default-text bg-elevation"
type="search"
name="tags"
autofocus
placeholder="Search: e.g. dragon"
@input="inputHandler"
@keypress.enter.prevent="addTagDirectly"
Expand Down

0 comments on commit e80cea0

Please sign in to comment.