Skip to content

[Bug]: iOS: keyboard covers the comment field in the Quote sheet #45511

Done

Description

@brandon-julio-t

Before submitting

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

Area

apps/mobile

Steps to reproduce

  1. On an iPhone, open a thread with a long assistant reply.
  2. Long-press to select a passage of several sentences (enough that the quote card fills most of the sheet) and choose Cite.
  3. In the Quote sheet, tap Add an optional comment… and start typing.

Expected behavior

The sheet scrolls so the comment field stays above the keyboard while you type, like the Add environment form after #45324.

Actual behavior

The keyboard opens over the comment field. The sheet does not scroll, so the text you type is hidden behind the keyboard.

Impact

Major degradation or frequent failure

Version or commit

main @ a39f9b5 (code unchanged since #35306)

Environment

iPhone, iOS T3 Code app, Quote sheet in portrait

Logs or stack traces

No log output. The ScrollView in apps/mobile/src/components/AssistantCitationSheet.tsx sets contentInsetAdjustmentBehavior but not automaticallyAdjustKeyboardInsets, so its insets never grow for the keyboard.

Screenshots, recordings, or supporting files

I have a screen recording from a real device but it contains private chat text. I will add sanitized before/after screenshots to the fix PR.

Workaround

Type the comment somewhere else and paste it, or keep the cited passage short.

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