Support Article
Display area of the screen is reduced when errors are flagged
SA-73326
Summary
When errors are flagged on the screen, the display area of the screen reduces and requires scrolling. The information displays in one half of the screen, while the rest of the screen is blank.
Error Messages
Not Applicable
Steps to Reproduce
- Add a checkbox onclick to configure a refresh-section.
- Create a repeat grid where one column has a Required condition. When the column value is null and the checkbox is selected, the visible area is reduced.
Root Cause
The issue occurs due to iFrames. That is, when an error message displays, the frame height reduces. Pega 7 platform does not support iFrames.
Resolution
Perform the following local-change:
- Create a new stylesheet.
- Include the stylesheet in Styles tab in the Skin.
- Refer the below logic in the stylesheet,
div[node_name="<harnessname>"] .harnessContent{height:100% !important;}
Published February 27, 2019 - 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.