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

Modal Dialog box does not render at the centre of the screen

SA-36047

Summary



A portal is configured with a Dynamic container holding a Tab layout. The Tab layout is configured with an icon that lauches a modal dialog. On launching the portal, the modal dialog does not appear at the center of the visible screen but is available on scrolling down the screen.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a portal with a Dynamic Container and include a Tab layout.
  2. Configure an Icon within the Tab layout that launches a modal dialog.
  3. Run the use case


Root Cause



Tab Layout with Dynamic Container is configured with Size height to content. When this option is checked, the modal dialog is visible at the center of the available total height of the harness.

Resolution



Perform the following local-change:

Uncheck the Size height to content option in the Dynamic Container.

Published April 20, 2017 - 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