Skip to content

Commit 0f56d10

Browse files
authored
use touchend instead of touchstart (#5230)
1 parent e310d11 commit 0f56d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sites/kit.svelte.dev/src/lib/search/Search.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
e.target.value = '';
1616
}}
1717
on:mousedown|preventDefault={() => ($searching = true)}
18-
on:touchstart|preventDefault={() => ($searching = true)}
18+
on:touchend|preventDefault={() => ($searching = true)}
1919
type="search"
2020
name="q"
2121
placeholder="Search"

0 commit comments

Comments
 (0)