Skip to content

Mobile chat: first reply shows Thinking above the message, does not auto-scroll, can go blank #2521

Closed

Description

@DoodleBears

Problem and context / 问题与背景

Found during the Production DeepSeekBot Connect acceptance on 2026-10-21 (QA iOS 27, store-release build, live relay). After the first DM to a new Bot:

  • the "Thinking…" row stayed above the human message while the reply ("42") rendered below it, until the screen settled a few seconds later;
  • the Human reported earlier in the same run that the chat screen went blank after the first DM until reopened, and that a new reply did not auto-scroll and was hidden behind the composer.

Over the Connect route the stream is the normal /botharness-device/api/remote.mux WebSocket, and no "Reconnecting…" banner appeared, so this looks like chat rendering rather than transport. Related: #2515 (DM stays empty until Host restart), #2463 / #2484 (Bot working row above the composer; per-block streaming rollback).

Smallest useful scope / 最小有用范围

Included: the first-reply order of the working row, the human message and the reply; auto-scroll to a new reply when the view is at the bottom; no blank screen after the first DM. Reproduce over a non-Connect route (Tailscale or loopback) first to rule the transport out.

Excluded: Connect transport, unless the non-Connect route does not reproduce it.

How to verify / 如何验收

On iOS (Simulator and a physical device) and Android: open a new Bot DM, send one message, and record the screen. The working row stays below the human message, the reply appears in place and scrolls into view above the composer, and the screen never goes blank. Light and dark screenshots.

Activity

  1. DoodleBears commented on Oct 21, 2026

    @DoodleBears
    ContributorAuthor

    Taking this from the #1845 thread. Status by symptom, as of main 50df2a3:

    1. "Thinking…" above the human message: fixed by fix(mobile): keep the Bot working row under the latest message in short chats #2510. The acceptance still (3-dm-over-connect-light.png) shows the working-row overlay drawn about 140 pt too high. The list reserves its space correctly, but the row is translated by anchor − scroll, and Reanimated's useScrollOffset stays at 0 until the first native scroll event. A new DM never scrolls, so the row was lifted by the list's resting inset. fix(mobile): keep the Bot working row under the latest message in short chats #2510 clamps the shift at 0. The still also shows the row outliving the reply's commit. That's the Bot's working state lagging, not layout.
    2. Chat goes blank after the first DM: likely fix(mobile): keep a new DM shown after its first message and pin short-chat replies above the composer #2490 ("keep a new DM shown after its first message"). Before fix(mobile): keep a new DM shown after its first message and pin short-chat replies above the composer #2490, a DM that opened empty stayed at opacity: 0 waiting to settle. fix(mobile): open a chat already at the latest message #2514 also changes when the list is revealed (after 6 stable frames, capped at 45). I haven't reproduced it on a build without fix(mobile): keep a new DM shown after its first message and pin short-chat replies above the composer #2490.
    3. New reply doesn't auto-scroll and stays behind the composer: not explained yet. fix(mobile): open a chat already at the latest message #2514 fixes the open-time chase and the unrequested load-more, but I haven't found a path that leaves a following list unpinned in a new DM.

    Next: the device queue will reproduce all three over a non-Connect route (loopback/Tailscale) on the iOS 27 Simulator, on main ≥ 50df2a3, with a screen recording. Android goes to the Windows machine. If 2 and 3 don't reproduce there, I'll close this with that evidence. If 3 does, I'll fix it here.


    Generated by Claude Code

  2. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work claim

  3. added
    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDs
    on Oct 22, 2026
  4. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    Agent work handoff

    • Agent/task: Codex, codex/local/01a16196-b7e0-70a2-a239-cf57d66db81d (not a DSH Session).
    • State: handed-off. Draft PR #2551, head 5df949ff7fad82f128609a858277f161df484bcb, base latest fetched main 8f4e650db551ae8458211634872ed291ff4e5a4f. Original claim.
    • Delivered: two regression journeys through the real ConversationScreen/useFollowLatest, plus bilingual diagnosis/native QA guidance and changelog. Empty DM → local send → Human → working → streamed/final reply, delayed idle, growth following, history hold/resume, and remote first-message arrival without a size event. No runtime, native-input, Connect or sibling Chats changes.
    • Evidence: 48 focused chat tests and 60 CI-selected related tests pass; mobile typecheck, touched formatting, diff check and lint/changelog checks pass. Four controlled mutations fail the expected assertions (empty reveal, always-on visible-position preservation, disconnected growth callback, old unclamped working anchor); all restored. These source checks do not prove native geometry or transport. Earlier new-test typing/comments/changelog-parity failures were corrected. Docs/slides build and its public-surface test were not run locally; no CI-pass claim is made here.
    • Diagnosis: main contains fix(mobile): keep a new DM shown after its first message and pin short-chat replies above the composer #2490 (3d09057811ae), fix(mobile): keep the Bot working row under the latest message in short chats #2510 (72794500f1ed) and fix(mobile): open a chat already at the latest message #2514 (50df2a3a9c81). No remaining failure was demonstrated at the tested source seam. This is not evidence that all reported native symptoms are resolved, so Mobile chat: first reply shows Thinking above the message, does not auto-scroll, can go blank #2521 remains open and the PR uses Refs, not Closes.
    • Android: submitted one exact-head request under the existing Windows queue's Next batch, awaiting owner-cut scheduling. No lease claimed; no device/build/Metro/Host started. Required non-Connect short/long first-DM recordings, bottom follow/history hold, keyboard and default/intermediate/maximum text in light/dark are explicit in the request and guide.
    • iOS: preserve the #1845 owner's existing iOS27 non-Connect reproduction. Mac runner/batch/status remains unconfirmed; no accessible Mac queue and no duplicate iOS request. Simulator and physical iPhone acceptance, recordings and captures remain outstanding. Keeping agent:active while that ownership remains unresolved; this task's bounded source work is handed off.
    • Remaining decision: after native evidence, close the issue if all symptoms pass, or preserve the failing state and implement only the demonstrated remaining mechanism. No unresolved product/interaction choice was introduced.
  5. DoodleBears commented on Oct 22, 2026

    @DoodleBears
    ContributorAuthor

    macOS desktop preflight — limited first-DM evidence

    On source 1758dfdeaac69c7dc3530aced089bcf3898d7cca (main31f313fc plus remote gateway fix#2585),two separate empty-history QA Bots used full direct deepseek-official/deepseek-flash plans (DeepSeek-V4.1-Flash):

    • Short first DM: actual UI submission,reply42 visible in~2.9s; canonical reply persisted and Human delivery handled.
    • Long first DM:80 numbered lines,6957 characters,finalQA_TAIL_80 visible in~8.4s (viewport1440×1000; tail bounds883–907). Canonical reply persisted and Human delivery handled; no browser console issues during capture.

    The first long-test driver attempt sent no message and unexpectedly opened the local Tob conversation. The same Bot still had empty history. Hiding the floating window companion using its normal menu and verifying composer focus produced the valid first send. That overlay interaction remains unqualified; the successful retry is not evidence that the initial interaction was correct.

    This is desktop remote conversation evidence only. It does not close#2521 or prove iOS/Android native first reply,keyboard/commit anchoring,history-reading hold,or the final release SHA. iOS is running through its separate shared queue. Local raw observations were retained; public remote-list before/after images are in#2585.

    Task:codex/local/01a16230-879c-7ea2-bdc1-9f65f57a031a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:activeOne or more coding-agent tasks currently claim this issue; see claim comments for task IDsarea:frontendClient-side implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions