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

Enter key does not work when cursor is on text area




Enter key does not work when the cursor is on the text area. Hence, user is unable to move the cursor to the next line.

Error Messages


Not Applicable 


Steps to Reproduce

  1. Create a text area control
  2. Press the Enter key when the cursor is on the text area

Root Cause

A software use or operation error. A non-auto text area control is used and a function to calculate the remaining character count is present. However, the event propagation is not stopped. As a result, the Enter key event works incorrectly.


Perform the following local-change:
Stop the event propagation on the Enter key with e.stopPropagation() in the function to calculate the remaining character count.


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