Closed Elliot67 closed 7 months ago
Indeed. The library is case insensitive (or at least it's suppose to be), and yet here checkKey is not properly normalizing the input. It works if you pass 'arrowright'
. I'll get a new version with a fix published today. Thanks for reporting this bug 👍🏻
Arrow keys are not detected in
checkKey
, but they are properly detected withbindKey
. UsingcheckKeyCombo
works fine.Made a reproduction on jsfiddle with the following code :