[BUG] Marketplace: pressing Enter on plugin navigates to Discover tab instead of showing plugin details

Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Activity 4 comments · opened Feb 4, 2026 · closed Aug 19, 2026
💡 Likely answer: A maintainer (bcherny, collaborator) responded on this thread — see the highlighted reply below.

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When browsing plugins from any marketplace (not just local/directory-based), pressing Enter to view plugin details or toggle the plugin incorrectly navigates to the main Discover tab instead of showing the plugin details or performing the expected action.

This is different from #13509 which specifically concerns directory-based local marketplaces redirecting to the Installed tab. This bug affects regular git-based marketplaces and redirects to the Discover tab.

Note: #19383 described this exact behavior but was closed as a duplicate of #13509, which I believe was incorrect as they are different issues.

What Should Happen?

  1. Pressing Enter on a highlighted plugin should display plugin details or toggle enable/disable
  2. The user should remain in the Marketplaces context
  3. The top navigation should continue to show Marketplaces as the active tab

Error Messages/Logs

No error messages. Navigation silently redirects to wrong location.

Steps to Reproduce

  1. Run claude in terminal
  2. Type /plugin
  3. Tab to Marketplaces
  4. Select any marketplace that has plugins available
  5. Select a plugin using arrow keys
  6. Press Enter to view details or toggle the plugin
  7. Expected: Plugin details shown or plugin toggled, still in Marketplaces context
  8. Actual: Navigates to Discover tab

Claude Model

Opus 4.5

Is this a regression?

Unknown

Last Working Version

N/A

Claude Code Version

Latest

Platform

Claude Max

Operating System

Linux (6.14.0)

Terminal/Shell

Bash

Additional Information

Related issues:

  • #13509 — Similar navigation issue but for local directory marketplaces redirecting to Installed tab
  • #19383 — Described this exact bug but was closed as duplicate (incorrectly IMO)

This appears to be a routing issue in the Marketplaces browse UI where Enter key events are being handled by the Discover view instead of the Marketplaces view.

View original on GitHub ↗

4 Comments

github-actions[bot] · 8 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/19383

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

krmj22 · 7 months ago

Confirming on macOS across Terminal.app and Ghostty.

Additional finding not in the original report: Space to toggle plugin selection does nothing. The checkbox UI renders correctly, but pressing Space produces no state change.

Both primary keybindings in the plugin picker are broken: Enter acts as Escape (navigates back), and Space is a no-op.

Claude Code: 2.1.49

bcherny collaborator · 1 month ago

Thanks for the detailed report. I retested this on 2.1.233 (Linux) following your exact steps: /plugin → Tab to Marketplaces → selected a git-based marketplace → Browse plugins → arrow to a plugin → Enter.

Enter now opens the plugin details view (description, version, install options) and Esc steps back through the plugin list to the marketplace — the Marketplaces context is preserved throughout, and nothing jumps to the Discover tab's content.

A navigation fix in this area shipped in 2.1.172 ("Esc from the plugin browser returning to the wrong tab") — see the changelog.

One note: while browsing a marketplace's plugins, the top tab bar currently highlights "Discover" — that's a labeling quirk of the browse view, not a navigation away from your marketplace, and we hear the feedback that it's confusing.

Closing as fixed in a recent release — if you still see Enter losing your place on 2.1.233 or later, reply here and we'll reopen.

🤖 Generated with Claude Code

github-actions[bot] · 4 days ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.