Hi I have been trying to fix an issue with calendly where when i get to the you are scheduled screen it breaks my form… you can see it breaks out of the mobile phones screen / viewport and enlarges the screen. I can then move this page around with my finger. the steps with in the calendly form before this are all perfect. I have tried many different solutions but it will not fix the issue.
SO:
What happens:
- Calendar selection, time selection, and "Enter Details" steps all render correctly within the mobile viewport
- When the confirmation/"You are scheduled" page loads inside the iframe, the entire page layout expands beyond the screen width
- The form's title/description become oversized and cut off on the right
- The user can scroll/pan horizontally (page is wider than the viewport)
- This persists when navigating to subsequent screens
- Pinching to zoom out snaps it back to the correct scale
What tried (none worked):
overflow: hidden !importanton the.calendly-inline-widgetand its iframemax-width: 100%/max-width: 100vw/width: 100%on widget and iframeoverflow-x: hiddenonhtmlandbodyelementsposition: relativeonhtml/bodyto create a proper containing blocktouch-action: pan-yonhtml/bodyto block horizontal panningcontain: contenton the widget container (CSS containment)clip-path: inset(0)/-webkit-clip-path: inset(0)on widget and iframemaximum-scale=1on the viewport meta tag- Clearing the Next.js build cache and hard-refreshing
Environment:
- iOS Safari on a real iPhone
- Calendly inline widget via
initInlineWidget() - Embed URL includes
hide_event_type_details=1&hide_gdpr_banner=1
Root cause: The Calendly confirmation page renders content inside the iframe that is wider than the mobile viewport. Mobile Safari expands the layout viewport to fit the iframe content, and none of the standard CSS containment techniques prevent this for cross-origin iframes.


