Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Vertical scrollbar disappears on clicking node of TreeGrid



User has configured a WorkArea control that displays two tabs on screen. In one of the tabs, a section with tree grid is shown. This tab has a vertical scroll bar as well. When user expands a node of tree grid, the vertical scroll bar disappears. Clicking on the same node brings the vertical scroll bar back.

Error Messages

No error messages.

Steps to Reproduce

a) Configure a WorkArea control to show two tabs. 
b) In one of the tabs, configure a section that presents a large tree grid so that screen has a vertical scroll bar. 
c) At run time, when user clicks on any node of the tree grid, the vertical scroll bar disappears. 

Root Cause

The issue is in _resizeCallback function of PegaCompositeGadgetMgr JS file. The overflowY attribute of the workarea gadget div should be set to 'auto', to avoid this behavior.

if(this._oFrame.offsetHeight < this._oFrame.contentWindow.document.body.scrollHeight) { = "scroll"; // this value should be set to "auto"
} else { = "auto";


HFix-20738 was provided to resolve the behavior.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us