Question

3
Replies
2547
Views
Sukanya Bhattacharjya (SukanyaB10)
Tech Mahindra

Tech Mahindra
IN
SukanyaB10 Member since 2016 6 posts
Tech Mahindra
Posted: March 20, 2017
Last activity: March 21, 2017
Posted: 20 Mar 2017 11:57 EDT
Last activity: 21 Mar 2017 4:51 EDT
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 Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.