From 6e9cd6e6af0d040554ac275cefa1689df4eacb25 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 0f62df8843..780f077989 100644 --- a/src/Search/Search.svelte +++ b/src/Search/Search.svelte @@ -79,6 +79,7 @@ $: dispatch(expanded ? "expand" : "collapse"); + {#if skeleton}