Support Article
Modal Dialog window is displayed incorrectly in Firefox
SA-23460
Summary
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.
Resolution
Perform the following local-change:
Add the code snippet in UserWorkForm rule.
<style>
@-moz-document url-prefix() {
#modaldialog{
width:auto !important;
}
}
</style>
Published May 23, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.