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

Scrollbar does not scroll to screen bottom for SetFocus

SA-105519

Summary



The 'Set Focus' action for a Click event is configured on a button to focus an editable element (that is, Text input) that is present at the bottom of the screen. The button is at the top of the screen.
On clicking the button, the element is in focus. However, the scrollbar does not scroll automatically to the bottom of the screen. Hence, the focused element is not visible on the screen. 


Expected behavior: On clicking the button, the scrollbar must automatically scroll down to the bottom of the screen such that the focused element is visible.


Error Messages



Not Applicable


Steps to Reproduce

  1. Add button at the top of a section.
  2. Set action for a Click event to Set Focus to the .pyNote property.
  3. Add a Text input for .pyNote at the bottom of the screen. Ensure there is sufficient content between the button and the Text input field such that the scrollbar displays, and that the button and text input are not visible at the same time.
  4. Click the button.


Root Cause



A defect in Pegasystems’ code or rules.


Resolution



This feature is implemented in Pega Platform 8.1.8.

Published April 9, 2020 - Updated 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