diff --git a/packages/widgets/src/iframe/component.tsx b/packages/widgets/src/iframe/component.tsx index 05ab587a0..760c46b03 100644 --- a/packages/widgets/src/iframe/component.tsx +++ b/packages/widgets/src/iframe/component.tsx @@ -85,7 +85,13 @@ const getAllowedPermissions = ( const getSandboxFlags = ( permissions: Omit["options"], "embedUrl" | "allowScrolling">, ) => { - const baseSandbox = ["allow-scripts", "allow-same-origin", "allow-forms", "allow-popups"]; + const baseSandbox = [ + "allow-scripts", + "allow-same-origin", + "allow-forms", + "allow-popups", + "allow-top-navigation-by-user-activation", + ]; if (permissions.allowFullScreen) { baseSandbox.push("allow-presentation");