Skip to content

OPE-127: Android Session Chat multiline composer fills the screen #446

Closed

Description

@ivanfenenko

When the Session Chat composer has a long multi-line prompt on Android, the text field grows without a line cap and can fill the screen / push content below the keyboard.

Repro

  1. Open a session on Android.
  2. Focus the composer (software keyboard visible).
  3. Type or paste a prompt with many newlines / wrapped lines.
  4. Observe: composer expands to consume most of the viewport; chips/send sit awkwardly relative to the keyboard.

Likely cause

OpenCodeSessionComposer prompt BasicTextField has no maxLines. iOS already caps growth at ~5 body lines with internal scroll (OPE-118 / OpenCodeMentionTextView.maxCollapsedHeight).

Fix direction

Cap Android prompt growth at the same ~5 body lines (maxLines = 5) so further text scrolls inside the field; document the shared contract on session-chat-composer.md.


Imported from Linear OPE-127. Linear status: Done. Priority: High. Created 2026-08-09. Completed 2026-08-09.
Related: OPE-118, OPE-213.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    bug
    android
    priority: high
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidbugpriority: highready-for-agent

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions