From c91af962a72d1b8eae7ba7c185ab5b6e4468d3b8 Mon Sep 17 00:00:00 2001 From: Juliet Date: Mon, 13 Oct 2025 16:01:11 +0200 Subject: [PATCH] prevent focus on mobile --- src/components/search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/search.tsx b/src/components/search.tsx index 192adad..785df20 100644 --- a/src/components/search.tsx +++ b/src/components/search.tsx @@ -47,7 +47,7 @@ const Search = () => { }); onMount(() => { - searchInput.focus(); + if (!isTouchDevice) searchInput.focus(); }); const fetchTypeahead = async (input: string) => { -- 2.51.2