Skill autocomplete: selection resets to first item when navigating the dropdown

Resolved 💬 2 comments Opened Jun 3, 2026 by kud Closed Jun 7, 2026

Describe the bug

When using the skill/slash-command autocomplete dropdown and trying to select any item other than the first one, the selection jumps back to the first item automatically. This makes it impossible to select a non-first suggestion without the selection being overridden.

Steps to reproduce

  1. Start typing a slash command that matches multiple skills, e.g. /foc
  2. The autocomplete dropdown appears with multiple matching results
  3. Press the down arrow (or hover) to select the second item in the list
  4. The highlighted selection immediately snaps back to the first item

Expected behaviour

The selection should stay on whichever item the user navigates to and not reset.

Actual behaviour

The selection resets to the first item in the dropdown list, making it effectively impossible to choose any suggestion that isn't at the top of the list.

Environment

  • Claude Code version: latest
  • Platform: macOS

https://github.com/user-attachments/assets/4db35000-555b-497d-86a3-18ce80c8006c

View original on GitHub ↗

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