fix: stop copy from propagating

This commit is contained in:
Arman committed 2025-04-02 16:31:28 +02:00
1 parent 4277318557
commit de76e7ef86
1 file changed
+1 -1
+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 />