On the macOS x86-64 branch, and the Ubuntu [chromium] and x86-64 branch, keydown JS events seemingly do not work. Oddly enough, they do work on the macOS [chromium] branch. I did not test this on ...
前陣子有個學生跑來問我一個問題,說他在寫 React 的時候分不清楚 keyPress 與 keyDown 這兩個事件,還有 keyCode 跟 charCode ...