refac
This commit is contained in:
1 parent
21cc828132
commit
fc98000aa8
1 file changed
+1
-1
@@ -520,7 +520,7 @@ export const copyToClipboard = async (text, html = null, formatted = false) => {
|
|||||||
textArea.style.position = 'fixed';
|
textArea.style.position = 'fixed';
|
||||||
|
|
||||||
document.body.appendChild(textArea);
|
document.body.appendChild(textArea);
|
||||||
textArea.focus();
|
textArea.focus({ preventScroll: true });
|
||||||
textArea.select();
|
textArea.select();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in new issue
Block a user