This commit is contained in:
Timothy Jaeryang Baek
2026-04-12 19:15:54 -05:00
parent 21cc828132
commit fc98000aa8

View File

@@ -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 {