Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combination CTRL + SHIFT + A not work #153

Open
kxiang2016 opened this issue Aug 28, 2019 · 0 comments
Open

Combination CTRL + SHIFT + A not work #153

kxiang2016 opened this issue Aug 28, 2019 · 0 comments

Comments

@kxiang2016
Copy link

The 2 key combination works well. e.g. ctrl+A, ctrl+C
but when press key ctrl + shift + A
It only files event: event.ctrlKey ===true + event.keyCode === shiftLeft
But what I expect is: event.ctrlKey ===true + event.shiftKey=== true + event.keyCode ==='a'

is there anything wrong? or this react-key-handler cannot support 3 key combination?
<KeyHandler
keyEventName={KEYDOWN}
keyValue={['ArrowDown', 'ArrowUp', 'ArrowLeft', 'ArrowRight', 'Control', 'Meta', 'Delete',
'Backspace', 'a', 'c', 'e', 'p', 's', 'v', 'x']}
onKeyHandle={this.keyDownEventHandler}
/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant