Tab completion for slash commands crashes with React rendering error

Resolved 💬 4 comments Opened Jan 8, 2026 by oalopez Closed Mar 5, 2026

When pressing Tab to autocomplete a slash command (e.g., /update-docs), Claude Code crashes with a React internal error.

Steps to reproduce:

  1. Open Claude Code in any project
  2. Start typing a slash command, e.g., /update
  3. Press Tab to trigger autocomplete
  4. UI crashes with React error

Expected behavior:
Tab completion should show available slash commands matching the typed prefix.

Actual behavior:
Application crashes with a React/rendering error in the autocomplete UI component.

Workaround:
Typing the full command and pressing Enter works correctly.

Error output:
N1(4194308,4,E,K)},useInsertionEffect:function(E,K){N1(4,2,E,K)},useMemo:function(E,K){var P=fR();K=K===void 0?null:K;var u=E();if(YQ){RT(!0);try{E()}finally{RT(!1)}}return P.memoizedState=[u,K],u}
...

  • y_ (/$bunfs/root/claude:693:8727)
  • h_ (/$bunfs/root/claude:693:10834)
  • Cq (/$bunfs/root/claude:693:12402)
  • Xf (/$bunfs/root/claude:693:14687)

Environment:

  • Claude Code version: 2.1.1
  • OS: macOS 15.6.1 (Build 24G90)
  • Architecture: arm64 (Apple Silicon)
  • Shell: (your shell, e.g., zsh/bash)

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗