Skip to content

Mobile: long responses with many tool calls truncate final summary text #64

@dimakis

Description

@dimakis

Description

When Claude Code returns a long response containing many sequential tool calls (10+) followed by a concluding text message, the mobile web UI truncates the output — the final summary text after the tool calls is not visible and cannot be scrolled to.

Steps to reproduce

  1. Open Mitzo on a mobile browser (observed on phone at 100.91.50.57:3100)
  2. Send a prompt that triggers a response with ~15 tool calls (e.g., a task involving multiple Write, Bash, and TodoWrite calls in sequence)
  3. Wait for the response to complete
  4. Try to scroll down to see the full response

Expected behavior

The full response should be visible, including any summary/concluding text that appears after the tool call blocks. The user should be able to scroll to the bottom of the message.

Actual behavior

The tool call blocks render, but the concluding text message after the tool calls is cut off. The user cannot scroll past the tool calls to see the final summary.

Context

  • Observed: 2026-04-04 at 14:21
  • Client: Mobile browser at 100.91.50.57:3100
  • Response shape: ~15 tool calls (Write, Bash, TodoWrite) followed by a text summary block
  • The tool calls themselves rendered — the issue is specifically that the text block after them was not visible

Possible areas to investigate

  • ChatView / MessageBubble rendering — does the container height accommodate all blocks?
  • groupMessages / groupBlocks — could grouping logic be dropping trailing text blocks?
  • useChatMessages reducer — is MESSAGE_END or SESSION_END finalizing the message before the last text block arrives?
  • Mobile viewport / scroll container CSS — overflow or max-height cutting off content
  • ToolGroup component — if tool blocks are grouped, does the group container allow content after it?

Labels

bug, mobile, frontend

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions