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 moves to start of a line while typing in Textarea

SA-82624

Summary



Cursor moves to the beginning of a line while typing in a text area with the combination of post value by the Any key event.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a section.
  2. Add a Textarea control.
  3. Configure any key event to trigger a post value.
  4. Type text in the Textarea field.


Root Cause



In pzpega_ui_doc_domUtils js file, the getCaretPosition and the setCaretPosition methods have a code to determine the HTML element type. In this condition, the text area element was missing.


Resolution



Apply HFix-53972.

Published August 19, 2019 - 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