-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
TanStack Hotkeys version
v0.1.3
Framework/Library version
React v18.3.1
Describe the bug and the steps to reproduce it
// these work
useHotkey("=", () => {});
useHotkey("-", () => {});
// none of these work
useHotkey("+", () => {});
useHotkey("Mod++", () => {});
useHotkey("Mod+Shift+=", () => {});
useHotkey("_", () => {});
useHotkey("Mod+_", () => {});
useHotkey("Mod+Shift+-", () => {});It should be possible to register these, although I assume Mod++ will prove tricky since + is used in the template literal types for chaining. But Mod+Shift+= does not work either.
We would like to use Mod+Shift+= and Mod+Shift+- in our code base.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
Screenshots or Videos (Optional)
Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms & Code of Conduct
- I agree to follow this project's Code of Conduct
- I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels