Support Article
Modal window popup not working properly in IE-9/IE-11
SA-5177
Summary
Modal window is not opening in IE, working fine in Chrome.
Error Messages
NA
Steps to Reproduce
when we are trying to launch a modal window , its not getting poplulated properly in IE9/IE-11
Root Cause
The root cause of this problem is a defect in user application code/rules.
User is trying to set the height and width of the modal window before it launches, by finding the element. and setting the element.style.width and element.style.height.
This seems to be working in Chrome, but no clue why it is working. A JS error is observed in IE.
Resolution
This issue is resolved through the following local change:
To handle this behavior I would recommend to update the height and width values using pega OOTB modal window parameters.
pega.u.d.MODALDIALOG_MIN_WIDTH
pega.u.d.MODALDIALOG_MIN_HEIGHT, set the values to your convenience.
Tested and worked fine in IE and Chrome.
Published January 31, 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.