diff --git a/src/lib/components/dialog/Dialog.svelte b/src/lib/components/dialog/Dialog.svelte index 338edb9f..3b3b68b4 100644 --- a/src/lib/components/dialog/Dialog.svelte +++ b/src/lib/components/dialog/Dialog.svelte @@ -254,7 +254,13 @@ function handleClick(e: CustomEvent) { let event = e as any as MouseEvent; - event.stopPropagation(); + /* Can't stop propogation for elements + because they rely on a native Svelte event handler + to work properly */ + if (e.target.tagName != "A") { + event.stopPropagation(); + } + } $: propsWeControl = {