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 {