Skip to content

Commit

Permalink
fix(alert): stopPropagation on button click
Browse files Browse the repository at this point in the history
  • Loading branch information
flauc committed Feb 4, 2025
1 parent 86535cd commit 5986f48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/src/alert/alert.wc.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<button
type="button"
class="jp-alert-container-header-close"
on:click|preventDefault={() => dispatch('close')}
on:click|preventDefault|stopPropagation={() => dispatch('close')}
>
{@html clearIcon}
</button>
Expand Down

0 comments on commit 5986f48

Please sign in to comment.