Question
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;
}
);
Hi Sukanya,
For the non-working scenario, can you please inspect the harness using developer tools (F12) and check what are the attributes that are added causing the scroll bar.
Let us know your observations.
Best Regards,
Mounika