From fc98000aa8d439bbff21a70370f5e962bf23f4bc Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sun, 12 Apr 2026 19:15:54 -0500 Subject: [PATCH] refac --- src/lib/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/index.ts b/src/lib/utils/index.ts index c11c33ac33..68ac38e560 100644 --- a/src/lib/utils/index.ts +++ b/src/lib/utils/index.ts @@ -520,7 +520,7 @@ export const copyToClipboard = async (text, html = null, formatted = false) => { textArea.style.position = 'fixed'; document.body.appendChild(textArea); - textArea.focus(); + textArea.focus({ preventScroll: true }); textArea.select(); try {