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

Cursor Focus Reset after Refresh Section

SA-69760

Summary



On pressing the Tab key, focus is not set to the next editable field.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a section with Text input and Rich Text Editor (RTE).
  2. Configure an onChange event for the Text input with a Refresh action.
  3. At runtime, press the Tab key on the Text input control. The focus stays on the RTE for a second and moves to the top.


Root Cause



This behavior is as per Pega product design.
On refresh action, the focus shifts to the first focusable element.



Resolution



Perform the following local-change: 
  1. After a refresh section action, call the Run activity. 
  2. Create an activity and use the Wait method to introduce a delay (for example, 10 milliseconds delay).
  3. Call the activity in the Run activity action.
  4. After the Run activity, add the Set Focus action and pass the RTE property value (the property of the element which must be in focus).

 

Published January 18, 2019 - Updated October 8, 2020

Was this useful?

100% 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