Support Article

Modal dialog not launched at the center of visible screen

SA-28654

Summary



After upgrading application from PRPC version 6.1 SP2 to 7.1.8, it was observed that  the modal dialogs are launched at the center of entire web page, instead of visible screen. Modal dialogs scroll when the scrollbar is moved.

Error Messages



Not Applicable


Steps to Reproduce

  1. Click a button to launch a local action
  2. Observe: the dialog launched at the center of entire web page, instead of visible screen.

Root Cause



An issue in the custom application code or rules. When "Stretch to fit contents of gadget is selected" for 'pageResize' while creating an IAC gadget, a browser scrollbar is getting added and is causing the modal dialog to scroll. 

Resolution



As per the current design, modal dialog position will be calculated based on iframe height.
In case of IAC, the iframe will have the stretched height and modal dialog will be centred to this height. Hence this is expected as per design.

 

Published September 30, 2016 - Updated October 18, 2016


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.