Question

3
Replies
2331
Views
SukanyaB10 Member since 2016 6 posts
Tech Mahindra
Posted: 3 years ago
Last activity: 3 years 7 months ago
Closed
Solved

Remove horizontal scrollbar in harness

We have multiple screens which have horizontal scrollbars. In the harness level of one of the screens, we have added a script in scripts and styles tab to remove the scrollbar. Now, the harness can be accessed two ways. So, after adding the script,the scrollbar is removed in one case and not removed in other. Both ways, the same harness is being called. How can this be resolved. Also, by adding the same script for other harnesses, the scrollbar is not getting removed.

The added script is-

pega.u.d.busyIndInterval = 100;
pega.u.d.gDirtyOverride = false;
pega.util.Event.addListener(window,'resize',function()
{
window.frameElement.style.height = document.body.scrollHeight;
window.frameElement.style.width = document.body.scrollWidth;
}
);

User Interface
Moderation Team has archived post
Share this page LinkedIn