React crash (error #185) when pasting large text into input field

Resolved 💬 11 comments Opened Jan 11, 2026 by gnomad1618 Closed Feb 25, 2026

Description

Claude Code crashes with React error #185 (Maximum update depth exceeded) when pasting a large block of text into the input field.

Steps to Reproduce

  1. Record or prepare a large block of text (e.g., voice transcription, several paragraphs)
  2. Paste it into Claude Code's input field
  3. App crashes with React error #185

Expected Behavior

Large paste should be handled gracefully, or at minimum show a warning if input is too large.

Actual Behavior

React enters an infinite render loop and crashes with:

error: Minified React error #185; visit https://react.dev/errors/185 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
      at v7 (/$bunfs/root/claude:683:16258)
      at yB (/$bunfs/root/claude:683:15768)

Environment

  • Claude Code version: 2.1.4
  • Platform: macOS Darwin 24.6.0
  • Context: Text was transcribed via WhisperDictation and pasted into input

Workaround

Paste text into a file and have Claude read it instead of pasting directly into the input field.

View original on GitHub ↗

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