diff --git a/frontend/src/components/copy-button.ts b/frontend/src/components/copy-button.ts
index 77856b75..8ef80d0d 100644
--- a/frontend/src/components/copy-button.ts
+++ b/frontend/src/components/copy-button.ts
@@ -40,12 +40,15 @@ export class CopyButton extends LitElement {
render() {
return html`
- ${this.isCopied ? msg("Copied") : msg("Copy")}
+
+
+
`;
}
@@ -59,6 +62,8 @@ export class CopyButton extends LitElement {
this.timeoutId = window.setTimeout(() => {
this.isCopied = false;
+ const button = this.shadowRoot?.querySelector('sl-icon-button');
+ button?.blur(); // Remove focus from the button to set it back to its default state
}, 3000);
}
}