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 moves up on selecting checkboxes



Modal dialog window moves up on selecting checkboxes.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a button.
  2. Configure a modal dialog on the button click local action.
  3. Configure a grid in a section of the modal dialog.
  4. Configure a section in the grid
  5. Configure a checkbox in the section (Toogle button).
  6. Configure a 'Refresh other section' (modal dialog section) on the checkbox.
  7. Configure another section in the grid of the modal dialog, with Visibility condition depending on the checkbox value. The modal dialog data changes based on the checkbox value.

Root Cause

The position of the modal dialog changes because data is added to it.


Perform the following local-change:

1. Add the below function in the UserWorkForm. Add a Run script on the checkbox in the modal dialog and invoke the function.

function myfunction()
</script>   *Place the script in UserWorkForm

2. Add the below style in the UserWorkForm such that the modal dialog position is fixed.

    position:fixed !important;

Published July 23, 2018 - 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