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 opens bottom of screen in Mashup portal



When launching a modal dialog in Pega Web Mashup, the center of the Viewport does not display. Instead, the center of the Mashup gadget height displays.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a harness with a section which has a button with Launch local action.
  2. Generate the Mashup for the harness.


Root Cause

A defect in Pegasystems’ code or rules.

The modal dialog not loading the center of the viewport implies that the content of the iFrame is large and shifted below the fold. For the modal dialog, the  position is calculated based on the top document reference. There is no mechanism to access the parent window if it is in a different domain (that is, cross-origin policy).


Perform the following local-change:

Apply the below styles and attribute to Mashup DIV:

style="overflow:auto;width:100%; height: 800 px;" 

data-pega-resizetype ='fixed'

Published August 19, 2019 - Updated December 2, 2021

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