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 window is displayed incorrectly in Firefox



User configured an icon to display modal dialog. 

User is using Internet Explorer 8 and Firefox 38.0.05. The issue is the modal dialog screen in Firefox browser is displayed incorrectly, its width seems to be shrinked when the user first clicks on the icon, from second time when they click on icon it comes up as expected. This issue is not present in Internet Explorer 8.

Error Messages

No Error Messages.

Steps to Reproduce

1. Create a Section and add Button.
2. Configure the button to launch a local action in modal dialog.
3. Click on Button to launch modal dialog. Modal dialog is displayed incorrectly for first click.

Root Cause

A software use or operation error: Width of the modal dialog is miscalculated for modal dialog and for its body for first time. This is due to delay between applying css and rendering in DOM.


Perform the following local-change:

Add the code snippet in UserWorkForm rule.

@-moz-document url-prefix() {
width:auto !important;


Published May 23, 2016 - 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