An addEventListener with keydown results in an empty string upon the first key in a textarea
I have a textarea
tag that takes in values to use for something else. When I press on a key, the value of it is an empty string. However, the keys pressed after the first key show up just fine. For instance, if I type, “hello” the value would be, “ello”. I want it so the value of the first key would show up.