# openIframeModal bug

**URL:** <https://community.hubspot.com/t/openiframemodal-bug/149939>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [June 2, 2026, 1:04pm UTC](https://community.hubspot.com/t/openiframemodal-bug/149939 "2026-06-02T13:04:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SnIntegrations](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/snintegrations/32/216744_2.png) [@SnIntegrations](https://community.hubspot.com/u/SnIntegrations)\
**Post date:** [June 2, 2026, 1:04pm UTC](https://community.hubspot.com/t/openiframemodal-bug/149939/1 "2026-06-02T13:04:42Z")

</div>

In platform version 2025.2, openIframeModal({ flush: true }) only removes padding-block-end from the dialog body (.mlQhc selector). In prior versions, flush removed all four sides. The 24px top + 40px horizontal padding now show as a white border around the iframe. Expected: full edge-to-edge iframe when flush: true.

---

<div class="post-metadata">

**Author:** ![stassey](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stassey/32/36_2.png) [@stassey](https://community.hubspot.com/u/stassey)\
**Post date:** [June 2, 2026, 1:37pm UTC](https://community.hubspot.com/t/openiframemodal-bug/149939/2 "2026-06-02T13:37:41Z")

</div>

Hey @SnIntegrations,

Welcome to the Community!

In the meantime, it may be worth checking out this existing thread here:

- [UI Extension iframe](https://community.hubspot.com/t5/APIs-Integrations/UI-Extension-iframe/m-p/1085950)

Hopefully the above thread gets you pointed in the right direction, but I’d also like to tag in some of our Top Contributors to see if they have any suggestiongs for you!

Hey @GRajput, @evaldas, [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) -- Do you have any suggestions for @SnIntegrations on this?

Thanks in advance!

Sam, Community Manager
