fix: stop copy from propagating

This commit is contained in:
Arman
2025-04-02 16:31:28 +02:00
parent 4277318557
commit de76e7ef86
+1 -1
View File
@@ -40,7 +40,7 @@
role="button"
tabindex="0"
style:cursor="pointer"
on:click|preventDefault={handleClick}
on:click|preventDefault|stopPropagation={handleClick}
on:keyup={clickOnEnter}
on:mouseenter={() => setTimeout(() => (content = 'Click to copy'))}>
<slot />