Default Hotkey #199
Replies: 3 comments 2 replies
-
|
I agree, this is very annoying that it's Shift-A. Just makes me remove dev tools each time. |
Beta Was this translation helpful? Give feedback.
-
|
This is doable, I want to have a default that HOPEFULLY doesn't conflict with anything on any OS or makes it annoying for people but retains the ability for you to open the devtools with a single hand on any keyboard layout, I guess I can ask an LLM to give me some potential permutations for that use-case and see if there's something sane |
Beta Was this translation helpful? Give feedback.
-
|
Yeah this is a bit annoying tbh, you’re not missing anything.
Something like: devtools: {
openHotkey: ['ctrl', 'shift', 'd'],
}feels a bit safer and less likely to conflict with typing. Agree it would probably make sense to change the default to something less common, or at least avoid triggering when focus is inside an input/textarea. Not sure if there’s an open discussion around changing it, but yeah — your workaround is basically the correct approach for now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The Tanstack Devtools seem to use Shift+A as the default shortcut to open and close the devtools panel. This causes problems when the user needs to type a capital "A" into a form, which seems like a fairly common event. I was able to remove the shortcut with
openHotkey: []and deleting the old hotkey from local storage, but this seems like a pain. Would it make sense to change that default to a less frequently used combo? I'm fairly new to Tanstack, so apologies if I'm missing something obvious.Beta Was this translation helpful? Give feedback.
All reactions