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

Initial focus after opening work objects is not consistent

SA-63864

Summary



On opening a work object initial focus is placed on either the first editable item or on the header, if no actionable item is present. The focus should be placed on the header irrespective of the type of work object opened.






Error Messages



Not Applicable.


Steps to Reproduce

  1. Log in to the application
  2. Configure work objects with editable and non-editable fields
  3. Use pyActionArea in the Perform Harness
  4. Run the flow


Root Cause



If pyActionArea is present in the Document Object Model (DOM), the focus is placed on the first editable element (input, text area, select), inside the action area if it is not a 'required' field. If such an element is not present, the focus moves to the first element of the page as determined by the browser.

Resolution



Perform the following local-change:

Use pyCaseActionArea from the UI-Kit.

Alternatively, replace pzActionAreaContent in pyCaseActionArea with the FlowActionSimple_HTML section.




 

Published September 13, 2018 - Updated October 8, 2020

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