Question


Evernorth
IN
Last activity: 28 May 2025 3:29 EDT
vertical scroll bar not visible For Harness
Hi, I want to put a vertical scroll bar on my UI. I tried to achieve this by adding CSS code in UserWorkForm Rule. I tried with both of the codes below:
1 .dc-main { display: block; flex: 900 100%; overflow-y: scroll !important; }
2 div[node_name="CSHome"]{ overflow-y:scroll !important; }
I can see the scrollbar on the harness but slider is not visible. please check the screenshot.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Eclatprime Digital Private Limited
IN
Can you check the behaviour using OOTB skin like pyEndUser... to confirm if any customizations are causing the issue.
Also you can try below script at harness level to see if it helps:
<style> main# { overflow-y:visible !important; } </style>


Evernorth
IN
@Sindhu Nalajala This is not working.


Cognitonic Systems India Pvt Ltd
IN
Please find the below articles
vertical scrollbar for a repeating dynamic layout | Support Center (pega.com)


Pegasystems Inc.
IN
@PrernaC17170848 - Can you verify with below css style.
.screen-layout-region-main {
overflow: auto !important;
}
Thank you.


Evernorth
IN
@Priyanka Boga this is not working


Evernorth
IN
@Priyanka Boga we are using a container in harness.


Pegasystems Inc.
IN
@PrernaC17170848 - Containers are deprecated and need to use screen layouts. Can you verify with screen layout for the vertical scroll bar because they are responsive and automatically the scroll will be seen if content overflows.
Thank you.


Blue Shield of California
US
@Priyanka BogaWe used screen layout in harness , it did not work.


Pegasystems Inc.
IN
@AgnibhaR16674561 - In the internal harness rule in Advanced tab work area check box has to be enabled only for child or internal harness not for harness rule.