react-shortcuts icon indicating copy to clipboard operation
react-shortcuts copied to clipboard

Single character shortcuts don't work

Open jake-nz opened this issue 8 years ago • 0 comments

It looks like combokeys is expecting a keypress event but only seeing keydown and keyup https://github.com/avocode/combokeys/blob/master/Combokeys/prototype/getMatches.js#L58

I can use eventType='keyup' but then combinations like command+z don't work :(

Is there a way to use single key and combination shortcuts in the same component?

jake-nz avatar Aug 11 '17 22:08 jake-nz