Skip to content

Commit 575a815

Browse files
committed
Make shortcut work when inputs are focused
1 parent 8872d47 commit 575a815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export function SideMenu({
140140
const featureFlags = useFeatureFlags();
141141

142142
useShortcutKeys({
143-
shortcut: { modifiers: ["mod"], key: "b" },
143+
shortcut: { modifiers: ["mod"], key: "b", enabledOnInputElements: true },
144144
action: () => setIsCollapsed((prev) => !prev),
145145
});
146146

0 commit comments

Comments
 (0)