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

Improper Modal Window size on clicking Add icon first time

SA-3910

Summary



For all the screens (with add icons), on clicking Add icon for the first time, the size of the popup modal window is not displayed properly. If we cancel the popup and again click the Add icon, the modal window size is displayed properly.

Steps to Reproduce



Clicking Add icon for the first time, the size of the popup modal window is not displayed properly. If we cancel the popup and again click the Add icon, the modal window size is displayed properly.


Root Cause



Modal dialog Minimum with is not setting to width of the section to be loaded in Modal dialog for the first time. Hence setting the Minimum width of the modal dialog is fixing the issue.


Resolution



This issue is resolved through the following local change: 

1) Create a section and embed the following code in the HTML tab of the section.


<script>

pega.u.d.MODALDIALOG_MIN_WIDTH = 800;

</script>

2) Drag and drop the above created section in the section where the issue is reproducible.

User confirmed that issue is not reproducible after above implementation.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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