Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

IAC frame does not resize when window is maximized



A harness with work area control is configured to be shown through IAC portal. User opens the window in re-store mode and hits the IAC URL. The iframe with content is shown and occupies the available window width. When the window is maximized, the iframe still has the same width and does not occupy the new window width available. If the window is launched in 'Maximized' mode first and then IAC page is launched, there are no such issues.

a) In below screen shot, the IAC is launched in re-store window mode. The frame showing content occupies the width of window:

b) When we maximize the window, the window width is increased. However, frame showing content still has original width:

Error Messages

No error messages.

Steps to Reproduce

a) Create a harness with a work area control. 
b) Refer this harness in the IAC Gadget. 
c) Open the browser window in re-store mode. 
d) Hit the IAC URL, the page is shown with contents and the frame occupies the window width. 
e) Maximize the window. The frame still has previous width and does not re-size to the new window width. 

Root Cause

The issue is because of static width assigned to iframe tag upon page load. There are two options to resolve the problem:

Option 1(recommended): The reported behavior gets resolved if the ‘Page Resize’ option is set to 'Fixed height' while gadget set up:

Option 2: Put the below code in the HTML file that corresponds to IAC window: 




The reported behavior gets resolved if the ‘Page Resize’ option is set to 'Fixed height' while gadget set up:


Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us