From 0d46fa54da625187f96e312fb0bc9f1f0d37aabf Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 22 May 2026 12:20:37 +0000 Subject: fix(lists): stop slot buttons from toggling the list details ListTitle renders inside , so clicking the Roulette or Refresh button bubbled up and toggled the parent
. Wrap the slot in a span that preventDefault()s the click, so the button's own onclick still runs but the summary toggle is cancelled. --- src/lib/List/ListTitle.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/List/ListTitle.svelte') diff --git a/src/lib/List/ListTitle.svelte b/src/lib/List/ListTitle.svelte index 2e9181d0..1af962e5 100644 --- a/src/lib/List/ListTitle.svelte +++ b/src/lib/List/ListTitle.svelte @@ -29,7 +29,12 @@ export let hideCount = false; {/if} {time ? time.toFixed(3) : '...'}s {/if} - + event.preventDefault()} + > + + {#if progress !== undefined}