Closed FezVrasta closed 7 years ago
Hey @FezVrasta, there's already a list of ignored keys that includes CMD, however I'm seeing a bug where the key is ignored correctly on keydown
but missed on keyup
. I'll look into that!
@FezVrasta just pushed up v4.1.2 that should fix the mouse modifier keys. Let me know if that does the trick.
I've been working on v5.0.0 and added an API option to overwrite the default ignored keys:
whatInput.ignoreKeys([1, 2, 3])
It fixed it, thank you!
For example, I have a component that accepts CMD + Click.
I would like the
data-whatinput
to stay tomouse
since the user isn't actually going to use the keyboard to navigate the app in any way.Having the ability to define a list of ignored keys would be handy.