react-key-handler icon indicating copy to clipboard operation
react-key-handler copied to clipboard

Combination CTRL + SHIFT + A not work

Open kxiang2016 opened this issue 6 years ago • 0 comments

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} />

kxiang2016 avatar Aug 28 '19 05:08 kxiang2016