fix button event propagation

This commit is contained in:
vcoppe
2024-09-30 22:08:54 +02:00
parent d5022c3ce2
commit 5cca106d18

View File

@@ -16,7 +16,7 @@
<Tooltip.Root>
<Tooltip.Trigger asChild let:builder>
<Button builders={[builder]} {variant} {...$$restProps}>
<Button builders={[builder]} {variant} {...$$restProps} on:click>
<slot />
</Button>
</Tooltip.Trigger>