@devries-cameron20 / t3code Mirror · read-only / commits / feb286379c
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 11:00 UTC

Stop keydown propagation on rename input

Prevents Space from triggering the parent SidebarMenuSubButton's navigation handler while typing in the inline rename input. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Julius Marminge committed Mar 2, 2026 at 13:26 UTC feb286379c071dc70a948d0f0f14729b04d6777f
1 file changed +1
apps/web/src/components/Sidebar.tsx
+1
@@ -970,6 +970,7 @@ export default function Sidebar() {
970 value={renamingTitle}
971 onChange={(e) => setRenamingTitle(e.target.value)}
972 onKeyDown={(e) => {
973 + e.stopPropagation();
974 if (e.key === "Enter") {
975 e.preventDefault();
976 renamingCommittedRef.current = true;