fix(search): hoist ignore a11y autofocus comment

In Svelte 5, the comment is ignored when it's above the input element. Setting the comment at the top-level resolves the issue.
This commit is contained in:
metonym 2024-03-06 19:08:52 -08:00 committed by Enrico Sacchetti
commit 6152b784c1

View file

@ -79,6 +79,7 @@
$: dispatch(expanded ? "expand" : "collapse");
</script>
<!-- svelte-ignore a11y-autofocus -->
{#if skeleton}
<SearchSkeleton
size="{size}"