fix(client): append file input to body to fix iOS Safari upload dialog (#1886)
This commit is contained in:
@@ -284,7 +284,10 @@ export function editorSyscalls(client: Client): SysCallMapping {
|
||||
reject(e);
|
||||
};
|
||||
|
||||
input.style.display = "none";
|
||||
document.body.appendChild(input);
|
||||
input.click();
|
||||
setTimeout(() => document.body.removeChild(input), 1000);
|
||||
});
|
||||
},
|
||||
"editor.flashNotification": (
|
||||
|
||||
Reference in New Issue
Block a user