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 Window does not get resized



A Modal Window has a repeat grid which will show/hide based on condition. When the repeat grid is hidden, the modal window doesn't resize and blank space appears before button. 

Error Messages

Not Applicable

Steps to Reproduce

1. On click of a repeat grid, launch a local location in Modal Window. 
2. Embed section in the Local Action with a check box which will show/hide another repeat grid on condition. 
3. when section of repeat grid hides, blank space appears and button is coming to bottom of the Modal window.

Root Cause

Extra height was getting added on the user side.


Below code was suggested to remove height from modal content div. It is added in userworkform.

$("#modaldialog_bd .customExpandInnerDivStyle").height(''); 

Suggest Edit

Published October 28, 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