Support Article
Focus is going to top of the page on change of tabs
SA-19228
Summary
Focus is going to top of the page on change of tabs, like tabs which are loading through Defer load. When user open a case from my work list it shows the remaining data in form of tabs Scroll down and you can see the below tabs. On clicking on Audit tab, which is loading through defer load, the scroll or control is going to top of the page, but user requires the control or focus at the same place like showing the audit.
Error Messages
No error messages.
Steps to Reproduce
1) Create a tab group layout.
2) Add section as tab to the tab group layout.
3) Enable "Defer load contents" configuration option for each tab.
4) Run the scenario and click on tab. One can observe a scroll movement if the screen is too large.
Root Cause
A software use or operation error : Expected Behavior.
Resolution
Here’s the explanation for the reported behavior:
Pega has configured "Defer load contents" option on tabs to achieve the better performance of the screen.
When user enables this option, Pega loads the content of the tab when user interacts very first time.
The scroll bar is moved based on the tab content height. The height of the content is zero first time as user has enabled "Defer load contents".
Once the content is loaded the height is calculated based on content, from second click onwards.
The behavior is not reproducible. This behavior is expected as per design.
Published February 9, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.