document.onkeypress does not work in versions after 61
Mozilla Version 61.0 (64bit) Push key left See "ArrowLeft"
Mozilla Version 67.0b9 (64bit) Push key left Not see anithing
Key "Left,Up,Right,Down" does not work. Others key`s work fine.
Additional System Details
- User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
hi, https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onkeypress says this is deprecated an onkeydown should be used instead...
onkeypress doesn't work with non-printable keys, onkeydown works.