Tab key traps user in navigation - cannot return to edited text, Esc doesn't work
Resolved 💬 3 comments Opened Feb 23, 2026 by bezaleel3 Closed Feb 27, 2026
Description
Pressing Tab in chat input can trap the user in tab navigation. Once trapped, Esc doesn't work to return to the chat input, and the only way out is to close the entire chat tab. Ctrl+C only works intermittently.
Steps to Reproduce
- Type some text in the chat input
- Press Tab
- Try to navigate back to the edited text with Esc → doesn't work
- Try Ctrl+C → works only sometimes/rarely
Expected Behavior
- Tab should navigate between UI elements
- Esc should return focus to chat input or cancel the tab navigation
- Should be able to resume editing the text
Actual Behavior
- After pressing Tab, user is trapped in tab navigation
- Cannot escape back to the chat input with Esc
- Only workaround is closing the entire chat tab
- Ctrl+C works intermittently (unreliable)
Environment
- macOS (darwin)
- Claude Code latest version
- Reproducible on repeated Tab presses
Severity
High - users lose their edited text and have to close the tab
Additional Notes
Related to recent Claude Code update (same timeframe as keybindings newline bug #27865)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗