Spaces:
Paused
Paused
fix(modal): fix freeze after modal close (#1538)
Browse files
src/lib/components/Modal.svelte
CHANGED
|
@@ -50,7 +50,7 @@
|
|
| 50 |
tabindex="-1"
|
| 51 |
bind:this={backdropEl}
|
| 52 |
on:click|stopPropagation={handleBackdropClick}
|
| 53 |
-
transition:fade|
|
| 54 |
class="fixed inset-0 z-40 flex items-center justify-center bg-black/80 p-8 backdrop-blur-sm dark:bg-black/50"
|
| 55 |
>
|
| 56 |
<div
|
|
|
|
| 50 |
tabindex="-1"
|
| 51 |
bind:this={backdropEl}
|
| 52 |
on:click|stopPropagation={handleBackdropClick}
|
| 53 |
+
transition:fade|local={{ easing: cubicOut, duration: 300 }}
|
| 54 |
class="fixed inset-0 z-40 flex items-center justify-center bg-black/80 p-8 backdrop-blur-sm dark:bg-black/50"
|
| 55 |
>
|
| 56 |
<div
|