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
- Create a section.
- Add a Textarea control.
- Configure any key event to trigger a post value.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.