prevent focus on mobile
juli.ee 2 months ago c91af962 b13e0ede
··· 47 }); 48 49 onMount(() => { 50 - searchInput.focus(); 51 }); 52 53 const fetchTypeahead = async (input: string) => {
··· 47 }); 48 49 onMount(() => { 50 + if (!isTouchDevice) searchInput.focus(); 51 }); 52 53 const fetchTypeahead = async (input: string) => {