Skip to content

Commit

Permalink
Merge pull request #6 from slogsdon/patch-1
Browse files Browse the repository at this point in the history
correct for iOS iframe bug
  • Loading branch information
securesubmit-buildmaster authored Sep 5, 2019
2 parents 5500e17 + 91e2fe8 commit a4eb5ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ui/iframe-field/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a4eb5ba

Please sign in to comment.