Support Article

Refresh issue- Section Focus is shifting to different section

SA-25978

Summary



On selecting a value in a dropdown, the values of the repeat grid are updated. In one such configurations, on change of the value of the dropdown, and clicking somewhere else, focus is shifting to another section after refresh. 
Section with property in dropdown is being used inside Dynamic Repeating Layout


Error Messages



Not applicable

Steps to Reproduce



1.Create a section with dropdown and use that section in Repeating dynamic Layout 
2.Run the case and let the RDL have 4-5 rows so that a vertical scroll will come. 
3.Scroll down and change dropdown for last row section and immediately click outside 
4.Observe fin IE and chrome scroll is moving up , and in IE focus also changes 

Root Cause



A defect or configuration issue in the operating environment :-

Pega focuses the first editable input element after refresh and IE interprets it differently and so it scrolls up. The issue only happens in IE.

Resolution



Local Change:-

Add a input element in the section and make it hidden using the following ways: 
 Use inline CSS -> visibility:hidden; 
or  Add custom style-class(with visibility:hidden as its style) in skin rule and use that class in editable/readonly class of Presentation tab in properties configuration panel

Published July 25, 2016 - Updated July 30, 2016

Have a question? Get answers now.

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