From dd4c154effeb7b86ad8d37a4e30872776e7d590a Mon Sep 17 00:00:00 2001 From: Sigmabro <122412346+Sigmabrogz@users.noreply.github.com> Date: Mon, 16 Mar 2026 01:15:18 +0530 Subject: [PATCH] fix(client): append file input to body to fix iOS Safari upload dialog (#1886) --- client/plugos/syscalls/editor.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/plugos/syscalls/editor.ts b/client/plugos/syscalls/editor.ts index d33a223d..194cd4f9 100644 --- a/client/plugos/syscalls/editor.ts +++ b/client/plugos/syscalls/editor.ts @@ -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": (