Files
archived-orca/mobile/src
Brennan Benson 8f2d4eb58f fix(native-chat): keep the words before a pending question in view (#43797)
* fix(native-chat): keep the words before a pending question in view

A Claude or Codex chat's question card could fill most of a short pane and could not be folded, so the findings or table the agent wrote just before the question scrolled out of view while it waited. The card is now capped against the chat pane with its options scrolling inside, and a structured question can collapse to a one-line strip (chevron or Esc) on desktop and phone, the same as terminal chat. The message box stays hidden while the agent waits on the answer.

Tracked in #43602

* fix(native-chat): keep every option reachable in a short pane

The question and its options now scroll together inside the capped card, with only the answer row pinned, and the card box scrolls as a last resort for a tall typed answer, so no control is clipped out of reach. The cap's floor rises to 14rem so at least one option row shows. A collapsed structured question's expand button is the pane's focus target, its hidden answer field no longer takes pastes, and single Codex questions on the phone collapse too.

Tracked in #43602

* fix(native-chat): keep the question in reach beside a tall answer

The question and options keep at least 6rem beside a tall typed answer, so the card's last-resort scroll reaches both. On the phone, a card offering Collapse and Cancel now shows both controls, so a single Codex question can collapse while its turn runs.

Tracked in #43602
2026-11-17 19:00:21 -08:00
..