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

Screen scrolls abruptly and automatically

SA-87565

Summary

User hovers on the status link of a bulk action (For example, to observe the tool tip for the Failure reason). However, the screen focus shifts and the perform harness is abruptly and horizontally scrolled to left.


Error Messages


 

Not Applicable

 

Steps to Reproduce

  1. Open the Bulk Action screen
  2. Click the Status column with the Hover option 


Root Cause



An issue in the custom application code or rules.

Resolution



Perform the following local-change:
Add the below script to the UserWorkForm:


<script> 

$(document).ready(function(){ 
$("body").change(function(e) { 
debugger; 
if(document.body.scrollWidth > document.body.clientWidth) { 
debugger; 
var scrollLeft = document.body.scrollLeft; 
if(pega.util.Event.isIE){ 
scrollLeft = document.documentElement.scrollLeft 

setTimeout(function() { 
document.body.scrollLeft = scrollLeft; 
if(pega.util.Event.isIE){ 
document.documentElement.scrollLeft = scrollLeft; 

}, 100); 

}); 

$("body").click(function(e) { 
if($("#Pega_Cal_Cont").get(0)) { 
if($.contains($("#Pega_Cal_Cont").get(0), e.target)) { 
var scrollLeft = document.body.scrollLeft; 
if(pega.util.Event.isIE){ 
scrollLeft = document.documentElement.scrollLeft 


if(scrollLeft > document.body.clientWidth) { 
debugger; 
//scrollLeft = document.body.scrollLeft; 
setTimeout(function() { 
document.body.scrollLeft = scrollLeft; 
if(pega.util.Event.isIE){ 
document.documentElement.scrollLeft = scrollLeft; 

}, 100); 



}); 
}); 
</script>

 

 

Published December 2, 2021

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