fix(client): append file input to body to fix iOS Safari upload dialog (#1886)

This commit is contained in:
Sigmabro
2026-03-15 20:45:18 +01:00
committed by GitHub
parent 356bc82986
commit dd4c154eff
+3
View File
@@ -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": (