From d1fc6cbfe45a388bd2dd65d23b61cda610328c16 Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Mon, 2 Mar 2026 15:05:24 +0100 Subject: [PATCH 1/3] fix: add Alt modifier to inspect hotkey default to avoid browser conflicts The previous default (Shift + CtrlOrMeta) overlaps with browser shortcuts for opening links in new tabs (Ctrl/Cmd + Shift + Click in Chrome, Edge, Safari). Adding Alt/Option as a third modifier avoids all known OS, browser, and common web app shortcut collisions. --- packages/devtools/src/context/devtools-store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devtools/src/context/devtools-store.ts b/packages/devtools/src/context/devtools-store.ts index 94e20032..5e3b4f0f 100644 --- a/packages/devtools/src/context/devtools-store.ts +++ b/packages/devtools/src/context/devtools-store.ts @@ -54,7 +54,7 @@ export type DevtoolsStore = { openHotkey: Array /** * The hotkey to open the source inspector - * @default ["Shift", "CtrlOrMeta"] + * @default ["Shift", "Alt", "CtrlOrMeta"] */ inspectHotkey: Array /** @@ -100,7 +100,7 @@ export const initialState: DevtoolsStore = { position: 'bottom-right', panelLocation: 'bottom', openHotkey: ['Control', '~'], - inspectHotkey: ['Shift', 'CtrlOrMeta'], + inspectHotkey: ['Shift', 'Alt', 'CtrlOrMeta'], requireUrlFlag: false, urlFlag: 'tanstack-devtools', theme: From de9001d86ce2dd9fcb76b6c0a9723f0f42814d05 Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Mon, 2 Mar 2026 15:07:25 +0100 Subject: [PATCH 2/3] chore: add changeset for inspect hotkey default change --- .changeset/inspect-hotkey-default.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/inspect-hotkey-default.md diff --git a/.changeset/inspect-hotkey-default.md b/.changeset/inspect-hotkey-default.md new file mode 100644 index 00000000..dac9dd78 --- /dev/null +++ b/.changeset/inspect-hotkey-default.md @@ -0,0 +1,5 @@ +--- +"@tanstack/devtools": patch +--- + +Changed default `inspectHotkey` from `["Shift", "CtrlOrMeta"]` to `["Shift", "Alt", "CtrlOrMeta"]` to avoid conflicts with browser shortcuts (Ctrl/Cmd + Shift + Click opens links in new tabs). From 9d4d3d312d7d3f91e5cafd4786f31739c1ac8b79 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:08:01 +0000 Subject: [PATCH 3/3] ci: apply automated fixes --- .changeset/inspect-hotkey-default.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/inspect-hotkey-default.md b/.changeset/inspect-hotkey-default.md index dac9dd78..2d21c3f2 100644 --- a/.changeset/inspect-hotkey-default.md +++ b/.changeset/inspect-hotkey-default.md @@ -1,5 +1,5 @@ --- -"@tanstack/devtools": patch +'@tanstack/devtools': patch --- Changed default `inspectHotkey` from `["Shift", "CtrlOrMeta"]` to `["Shift", "Alt", "CtrlOrMeta"]` to avoid conflicts with browser shortcuts (Ctrl/Cmd + Shift + Click opens links in new tabs).