Skip to content

Commit e0752d0

Browse files
authored
Merge pull request #30 from blazef104/main
bugfix: remove backdrop if the backdrop variable is set to false
2 parents 87c5aa2 + bc8815f commit e0752d0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/drawer/Drawer.svelte

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
<div role="presentation" class={backdropCls({ class: backdropClass })}></div>
2424
{:else if !backdrop && activateClickOutside}
2525
<div role="presentation" class="fixed start-0 top-0 z-50 h-full w-full" onclick={closeDrawer}></div>
26-
{:else if !backdrop && !activateClickOutside}
27-
<div role="presentation" class="fixed start-0 top-0 z-50 h-full w-full"></div>
2826
{/if}
2927
<div {...restProps} class={base({ className })} transition:transition={params as ParamsType} tabindex="-1">
3028
{@render children()}

0 commit comments

Comments
 (0)