Skip to content

Commit

Permalink
Add autofocus to search input field
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyfok committed Jul 4, 2024
1 parent c720daa commit 00fa63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
aria-label="Search"
name="search"
type="search"
placeholder="Search..."
autofocus
bind:value={query}
oninput={clearSearchResults}
/>
Expand Down

0 comments on commit 00fa63b

Please sign in to comment.