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:
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.
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:
0% found this useful