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.
Steps to Reproduce
- Create a text area control
- Press the Enter key when the cursor is on the text area
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.
0% found this useful