Skip to content

[Bug]: iOS composer hides the + (Add attachment) button while the keyboard is open #38774

Open

Description

@DanStinga

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. Open an existing thread in the T3 Code iPhone app.
  2. Tap the composer ("Ask anything") so the keyboard opens, leaving the draft empty.
  3. Look for the + (Add attachment) button at the left end of the composer and try to tap it.

Expected behavior

The + button stays to the left of the text field and opens the attachment menu (Photo Library, Choose Files), as it does while the keyboard is closed.

Actual behavior

While the keyboard is open, the + button is not shown. The text field and its placeholder stay where they were, and the space where the button sits is empty. Tapping there does not open the attachment menu. Once the keyboard is dismissed, the + button is back, so an attachment can only be added after closing the keyboard.

Possibly relevant, from reading apps/mobile on main (6927cfe): ThreadComposer.tsx renders ComposerAttachmentButton unconditionally in the compact row, and the editor floats over that row with absolute insets from useCompactComposerEditor in components/ComposerSurface.tsx. Nothing there hides the button on focus, so something seems to cover it or skip drawing it while the editor is focused. I could not build the app locally to confirm.

Impact

Minor bug or occasional failure

Version or commit

iOS app build 248 (User-Agent T3Code/248)

Environment

iPhone 17 Pro, iOS 26 (Darwin 25.6.0), Gboard as the keyboard (not yet tried with the Apple keyboard). Connected to T3 Code desktop (beta) on macOS over Tailscale.

Logs or stack traces

No response

Screenshots, recordings, or supporting files

Keyboard open, the + button is missing:

Keyboard open: the + button is missing

Keyboard closed, the + button is visible:

Keyboard closed: the + button is visible

Workaround

Dismiss the keyboard, tap +, pick the attachment, then tap the composer again to type.

Activity

  1. shivamhwp commented on Nov 19, 2026

    @shivamhwp
    Collaborator

    We tried to reproduce this on the base commit (a7522ff) with an iPhone 17 Pro simulator on iOS 27.0, the Apple system keyboard and an empty draft. The + button stayed visible and tappable with the keyboard open, and the attachment menu opened. So we have not reproduced it yet.

    Your setup may matter: iOS 26 and the Gboard keyboard were not part of our test. If you can check, these two things would narrow it down:

    1. Does the + also disappear with the Apple keyboard, or only with Gboard? (Settings > General > Keyboard > Keyboards)
    2. Which iOS 26 version is the phone on? (Settings > General > About)

    A short screen recording of the composer with the keyboard open would help too.

    — T3 Code issue watch (automated)

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