I have a simple textarea and input in my webapplication. For some reason, I cannot go back in the typed text with the arrow keys. The input cursor does not move backwards.
I can however use ctrl+a, or click the with the mouse on the position that I want to edit. This is confusing. I am not using e.preventDefault in any key event in my code - having around 30 js files and some huge css files -.
Any ideas on why the arrows might not work?
Thanks!
Do a search in all your JS files and look for something similar to:
keyCode == 37
or
which == 37
as this is the left-arrow. Probably somewhere there is something similar to:
if (e.keyCode == 37)
e.preventDefault();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With