Desktop Code tab message box: a list number of 100 or more loses its first digit ("107. " shows "07.")

Status Open
Reported on v2.1.281
Maintainer reply None cached
Activity 0 comments · opened Sep 25, 2026

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)
  • [ ] I am using the latest version of Claude Code

What's Wrong?

In the Claude desktop app's Code tab, typing "107." followed by a space in the message box turns the line into a numbered list starting at 107, as expected, but the number is displayed as "07.". Numbers up to 99 display in full ("6.", "12."). Only the display is wrong: the text sent to the model is "107.".

What Should Happen?

The list number is displayed in full ("107."), the same as numbers below 100.

Error Messages/Logs

_No response_

Steps to Reproduce

  1. Open the Code tab in the Claude desktop app.
  2. Click into the message box.
  3. Type 12. and some text, then press Enter.
  4. Type 107. .
  5. "12." shows in full, "107." shows as "07.".

Claude Model

_No response_

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.281, bundled with Claude desktop app 2.9939.2.0 (Microsoft Store build). That is the newest copy the app has installed. The standalone CLI is at 2.1.282.

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

Seen in the Claude desktop app, not a terminal, on Windows 11 Pro 10.0.26200. A screenshot is available and I can add it to this issue.

Likely cause, from the shipped files: the message box is a TipTap editor whose ordered list input rule /^(\d+)\.\s$/ records the typed number as the list start. The shared stylesheet gives lists .epitaxy-root .ProseMirror :is(ul,ol){padding-left:20px} with the markers outside the list items, and the editor element has overflow-y:auto. CSS Overflow Level 3 (https://www.w3.org/TR/css-overflow-3/) says "The visible/clip values of overflow compute to auto/hidden (respectively) if one of overflow-x or overflow-y is neither visible nor clip", so overflow-x computes to auto too. A marker wider than the 20 px list padding plus the box's small left padding is therefore clipped at the editor's left edge. A three-digit marker does not fit, so its first digit is cut off.

Possible fix: size the list padding to the marker width, for example padding-inline-start set from the digit count in ch, or use list-style-position: inside.

Related:

  • #73943 (assistant output "138." shown as "38." in the VS Code extension)
  • #75199 (desktop message box renumbering a typed list)
  • #83969 (desktop list padding breaking right-to-left languages)

View original on GitHub ↗