You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have an action bound to c but cmd+c seems to trigger the action regardless what allowCombinationSubmatches is set to. There is no action bound to cmd+c in my code.
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc) GlobalHotKeys is used in my component.
Expected behavior
Pressing cmd+c does not trigger the action bound to c.
Platform (please complete the following information):
Version of react-hotkeys: 2.0.0-pre9
Browser - chrome
What Configuration options are you using?
I am using the default configuration.
The text was updated successfully, but these errors were encountered:
I could as well reproduce it with the cmd+enter. With both this and react-hotkeys-ce package. In my case, the child component consumes the cmd+enter event with its enter handler and the parent component that should react to cmd+enter will never get a chance. It would be nice if we could at least specify the stopEventPropagationAfterHandling option locally.
Describe the bug
I have an action bound to c but cmd+c seems to trigger the action regardless what allowCombinationSubmatches is set to. There is no action bound to cmd+c in my code.
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
GlobalHotKeys
is used in my component.Expected behavior
Pressing cmd+c does not trigger the action bound to c.
Platform (please complete the following information):
What Configuration options are you using?
I am using the default configuration.
The text was updated successfully, but these errors were encountered: