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

Changing Flow Action in Dropdown scrolls to top

SA-19563

Summary



User reported that soon after upgrading application from Pega 6.3SP1 to Pega 7.1.9, they started facing an issue with pzActionDropdown control. After choosing another action in dropdwon, the browser scrolls to top.

Normally (like on the previous version) it should only refresh the pyActionArea-Section without scrolling on top of the screen.

Error Messages



Noe Error message.

Steps to Reproduce



- place large content section on top which would result in displaying scrollbar on screen.
- under this content section, place the pyActionArea section
- Use pzActionDropdown control inside this pyActionArea section.
- change the value in the dropdown
- browser scrolls to top


Root Cause



A defect in Pegasystems’ code or rules. It is a regression bug. 

Resolution



Perform the following local-change: 

Create a Non-Autogenerated section with the below given script code


<script>
  function focusChange(){
    pega.u.d.initFocusOnFirstInput = function(){}
  }focusChange();
</script>

Place this section inside pyactionArea section.

 
Suggest Edit

Published February 26, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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