Skip to content

[Bug]: Mobile request_user_input card overflows the viewport and cannot be scrolled #5009

Description

@Pratham-commits-code

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure — this affects apps/mobile, which is not currently listed in the Area dropdown.

Steps to reproduce

  1. Run the native mobile app on an iPhone-sized viewport.
  2. Start a Codex thread in Plan mode.
  3. Have the model call request_user_input with several questions containing long prompts and multiple options.
  4. Wait for the pending user-input panel to appear above the composer.
  5. Try to review and answer every question.

Expected behavior

The pending-input UI should remain within the available viewport. Questions should be presented one at a time with Previous/Next navigation, or the question content should at minimum be vertically scrollable while keeping the actions reachable.

Actual behavior

Every question is rendered in a single card inside the keyboard-sticky composer overlay. The card grows beyond the viewport, but the overlay is not scrollable. Parts of the questions become inaccessible and the composer overlaps the UI, making the thread effectively unusable until the request can be resolved elsewhere.

The native implementation currently maps all entries from pendingUserInput.questions into a plain View in apps/mobile/src/features/threads/PendingUserInputCard.tsx. That card is mounted inside the absolutely positioned KeyboardStickyView in ThreadDetailScreen.tsx, with no viewport height constraint or scroll container around the pending questions.

Impact

Blocks work completely

Version or commit

main @ 2448212367b4

Environment

iOS native mobile app, iPhone-sized viewport, Codex provider in Plan mode using request_user_input.

Logs or stack traces

No crash or stack trace. This is a deterministic layout/interaction failure.

Screenshots, recordings, or supporting files

Image

Workaround

Open the same thread in the web client, which already presents pending questions one at a time, or avoid multi-question request_user_input calls on native mobile.

Activity

  1. dtown123 commented on Jul 30, 2026

    @dtown123
    Image

    Confirming this on iOS. The screenshot above is a 10-question request_user_input. There's no scroll mechanism, and because the card is anchored to the bottom of the composer overlay, the first questions are pushed off the top of the screen entirely — so you're stuck any time you're asked more than a couple of questions. You can reduce the font size to fit a bit more in, but that's not a real solution.

    Root cause matches the report: the questions.map() in apps/mobile/src/features/threads/PendingUserInputCard.tsx. Desktop already solves this — ComposerPendingUserInputPanel.tsx renders one question at a time off derivePendingUserInputProgress, with a progress counter and Previous/Next.

    I have a working fix that brings mobile to parity by reusing that existing web helper: no new backend surface, no contract changes, and no review screen. It's ~550 non-test lines, mostly the card rewrite, though it does touch web for import updates. #2046 attempted something similar but was closed unmerged — it was 267 files against a non-main base branch.

    Happy to submit the PR if that'd be useful, or leave it alone if you'd rather own this one internally.

  2. iamtoled commented on Aug 5, 2026

    @iamtoled

    Same issue here. Concrete case: with 3 questions in one interactive card, the first question is pushed entirely off-screen and there is no way to scroll back to it, so the whole request becomes unanswerable. +1 for per-question navigation or at minimum making the card scrollable.

  3. Pratham-commits-code commented on Aug 10, 2026

    @Pratham-commits-code
    Author

    Can we fix this it breaks an entire thread for the t3 app making that thread useless until I can get back to PC. Can I send a vibe PR for this ? @t3dotgg @juliusmarminge

  4. t3dotgg commented on Aug 22, 2026

    @t3dotgg
    Member

    Note

    🤖 GPT-5.6 Sol in Codex responding on behalf of Theo

    Closing as resolved. Mobile question panels now have a bounded, scrollable layout. Fixed in 6676f9c83.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions