From 91e2fe8f44ef1fc7d086ecfd878ee931cab48128 Mon Sep 17 00:00:00 2001 From: Shane Logsdon Date: Wed, 4 Sep 2019 14:29:03 -0400 Subject: [PATCH] correct for iOS iframe bug --- src/ui/iframe-field/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/iframe-field/index.ts b/src/ui/iframe-field/index.ts index 40f5f7e..d68d555 100644 --- a/src/ui/iframe-field/index.ts +++ b/src/ui/iframe-field/index.ts @@ -41,6 +41,9 @@ export class IframeField extends EventEmitter { "parent", ); IframeField.triggerResize(id); + + // Fix iOS issue with cross-origin iframes + Events.addHandler(document.body, "touchstart", () => { /** */ }); } public static createField(id: string, name: string, type: string) {