Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "mod" key with keyup true does not work #1208

Open
victortimsit opened this issue Sep 12, 2024 · 0 comments
Open

[BUG] "mod" key with keyup true does not work #1208

victortimsit opened this issue Sep 12, 2024 · 0 comments

Comments

@victortimsit
Copy link

victortimsit commented Sep 12, 2024

"mod" key with keyup true does not work but it works with keydown true.

This doesn't log anything

useHotkeys(
    "mod", // Using "mod" doesn't work here, probably a react-hotkeys-hook bug
    () => {
      console.log("mod");
    },
    { keyup: true }
  );
@victortimsit victortimsit changed the title [BUG] React Hotkeys "mod" with keyup true does not work [BUG] "mod" key with keyup true does not work Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant