From d1a855943f81cab6787f1ae7e70650321dfb3bb5 Mon Sep 17 00:00:00 2001 From: Kirill Kazakov Date: Tue, 22 Oct 2024 18:06:46 +0100 Subject: [PATCH] fix(modal): fix freeze after modal close --- src/lib/components/Modal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Modal.svelte b/src/lib/components/Modal.svelte index c3ceaab7c7a..cdcadbec00d 100644 --- a/src/lib/components/Modal.svelte +++ b/src/lib/components/Modal.svelte @@ -50,7 +50,7 @@ tabindex="-1" bind:this={backdropEl} on:click|stopPropagation={handleBackdropClick} - transition:fade|global={{ easing: cubicOut, duration: 300 }} + transition:fade|local={{ easing: cubicOut, duration: 300 }} class="fixed inset-0 z-40 flex items-center justify-center bg-black/80 p-8 backdrop-blur-sm dark:bg-black/50" >