Closed benshope closed 6 months ago
It's referred to in the info box here: https://react-hotkeys-hook.vercel.app/docs/documentation/useHotkeys/basic-usage#multiple-hotkeys
So this is intentional in effort to reduce friction between different os environments.
@JohannesKlauss thanks for the quick response - the docs say
Since version 4
alt
andoption
are identical
when it might be more accurate to say
Since version 4
option
is deprecated in favor ofalt
.option
no longer triggers hotkeys
Describe the bug The word
option
(as inoption+a
) no longer works for mac key commands after upgrading to v4. It seems the hokey must bealt
(as inalt+a
) to work on mac. This may be intentional but I'm not seeing it in the docs.To Reproduce Steps to reproduce the behavior:
option+b
Please try and add a codesandbox or stackblitz to reproduce the bug: Codepen
Expected behavior I expected the hotkey to register for
option+b
Screenshots n/a
Desktop (please complete the following information):
Additional context n/a