[BUG] Tab switching functionality broken on Japanese Claude Code SDK documentation

Resolved 💬 3 comments Opened Aug 24, 2025 by yasuhiro-yamamoto Closed Jan 7, 2026

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: <!-- specify -->
  • Claude CLI version: <!-- output of claude --version -->
  • Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
  • Terminal: <!-- e.g. iTerm2, Terminal App -->

Bug Description

Tab switching functionality is broken on the Japanese version of the Claude Code SDK documentation page (https://docs.anthropic.com/ja/docs/claude-code/sdk). Users cannot switch back to the "Command Line" tab after selecting "TypeScript" or "Python" tabs. This issue only occurs in the Japanese documentation version and works correctly in English and other language versions.

Steps to Reproduce

  1. Navigate to https://docs.anthropic.com/ja/docs/claude-code/sdk (Japanese version)
  2. Locate any tabbed content section with Command Line/TypeScript/Python tabs
  3. Note that the "Command Line" tab is selected by default
  4. Click on either "TypeScript" or "Python" tab
  5. Try to click back on the "Command Line" tab

Expected Behavior

Users should be able to freely switch between Command Line, TypeScript, and Python tabs in both directions, similar to how it works in the English documentation version.

Actual Behavior

After switching to TypeScript or Python tabs, clicking the "Command Line" tab does not switch the content back. The tab appears unresponsive and the content remains on the previously selected tab.

Additional Context

  • Browsers affected: Chrome, Edge, Safari (reproduced across multiple browsers)
  • Languages affected: Japanese documentation only
  • Languages working correctly: English and other language versions work as expected
  • Technical observation: Using Chrome Dev Tools, it appears that when switching tabs, the div element should receive an ID update. However, for the "command-line" tab specifically in the Japanese version, the ID is not being updated correctly. This suggests a potential React state management issue that only affects the Japanese localization.
  • Impact: Medium - affects user experience for Japanese documentation users who need to reference different implementation examples

https://github.com/user-attachments/assets/1f309662-c607-4161-9cea-3728ad72565a

View original on GitHub ↗

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