From 8574a97e7bbf2d2a67dc5c743f4d1eb67610e715 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 22 May 2026 14:04:16 +0000 Subject: fix(layout): preserve list panel when clicking action buttons in summary The global animateDetails handler in +layout.svelte runs on every window click, unconditionally finding the nearest , preventDefault'ing the native toggle, and manually toggling the parent
. That left no way for child handlers to opt out -- clicking Roulette or Refresh inside the list title still toggled the panel. Skip the takeover (and stop the native toggle) when the click target is an interactive element. Reverts the now-unneeded slot wrapper in ListTitle from 0d46fa54. --- src/lib/List/ListTitle.svelte | 7 +------ src/routes/+layout.svelte | 9 ++++++++- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/lib/List/ListTitle.svelte b/src/lib/List/ListTitle.svelte index 1af962e5..2e9181d0 100644 --- a/src/lib/List/ListTitle.svelte +++ b/src/lib/List/ListTitle.svelte @@ -29,12 +29,7 @@ export let hideCount = false; {/if} {time ? time.toFixed(3) : '...'}s {/if} - event.preventDefault()} - > - - + {#if progress !== undefined}