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

No way to specify 'only' an action with no modifiers.

Open burtonator opened this issue 5 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Right now if I setup a binding for 's' it will also match 'control+s' or 'meta+s'

... it should be possible to match but with NO other modifiers and I don't think this is possible.

burtonator avatar Jun 25 '20 21:06 burtonator

Hi, fellow sufferer from the same bug 😅

I found this while looking information about this exact same issue. I found an answer in another issue that could be relevant: https://github.com/greena13/react-hotkeys/issues/175#issuecomment-492942710

I'm going to be trying it now. Maybe it works for you as well.

gnapse avatar Nov 12 '21 18:11 gnapse