From 6152b784c1e6b19ff242524e6b0c8c98b0107788 Mon Sep 17 00:00:00 2001 From: metonym Date: Wed, 6 Mar 2024 19:08:52 -0800 Subject: [PATCH] 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. --- src/Search/Search.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Search/Search.svelte b/src/Search/Search.svelte index 0f62df88..780f0779 100644 --- a/src/Search/Search.svelte +++ b/src/Search/Search.svelte @@ -79,6 +79,7 @@ $: dispatch(expanded ? "expand" : "collapse"); + {#if skeleton}