Repository navigation
Description
Summary
On iOS, expanding the follow-up composer in a compact thread view leaves the environment summary and context-window indicator hidden. The composer expands and the software keyboard is visible, but the status footer below it remains collapsed; the footer should become visible while the composer is expanded.
Versions and environment
- bb 0.43.1, native iOS client connected through bb Connect
- Reproduced in an active Codex thread; the layout bug is provider-independent
- Confirmed in source on
mainatcf51227e1135309a3c9c0baf5630be1ca7ba2714 - Exact iOS version was not collected
- Investigation thread:
thr_vvpf3ju8hq
Steps to reproduce
- Open a thread on iOS whose desktop follow-up footer shows an environment summary and context-window usage.
- Tap the follow-up composer and wait for the software keyboard and expanded composer layout.
- Inspect the area immediately below the composer.
Smallest source reproduction: in a promptbox shell below the 30 rem compact threshold, add data-follow-up-composer-expanded to the follow-up composer. The footer still receives max-height: 0, opacity: 0, and pointer-events: none from the compact container rule.
Expected vs actual
Expected: The expanded composer shows its environment summary, permission control, and context-window indicator footer.
Actual: The composer expands, but the environment summary and context-window indicator remain invisible because the footer stays at zero height.
Evidence
The React component marks the focused composer as expanded and renders the footer when isPromptBoxCompact is false:
bb/apps/app/src/components/promptbox/FollowUpPromptBox.tsx
Lines 688 to 698 in cf51227
| const composerElement = ( | |
| <div | |
| ref={composerInteractionRef} | |
| className="relative z-20" | |
| data-follow-up-composer="" | |
| data-follow-up-composer-expanded={isInteractionExpanded ? "" : undefined} | |
| hidden={hasPendingInteraction} | |
| onBlurCapture={scheduleCollapseAfterFocusLoss} | |
| onFocusCapture={handleComposerFocus} | |
| onPointerDownCapture={handleComposerPointerDown} | |
| > |
bb/apps/app/src/components/promptbox/FollowUpPromptBox.tsx
Lines 764 to 775 in cf51227
| {!isPromptBoxCompact ? ( | |
| <div | |
| data-follow-up-composer-footer="" | |
| className="mt-1 flex min-h-6 max-h-6 select-none items-center justify-between gap-2 overflow-hidden pl-[15px] pr-3.5 opacity-100 transition-[max-height,min-height,margin-top,opacity] duration-[180ms] ease-[cubic-bezier(0.16,1,0.3,1)] motion-reduce:transition-none" | |
| > | |
| <div className="flex min-w-0 flex-1 items-center gap-1 overflow-hidden"> | |
| {environmentSummary} | |
| </div> | |
| <div className="flex shrink-0 items-center gap-2"> | |
| {permissionControl} | |
| {contextWindowUsage ? ( | |
| <ThreadContextWindowIndicator usage={contextWindowUsage} /> |
The compact container rule collapses every follow-up footer without excluding a composer carrying data-follow-up-composer-expanded:
Lines 450 to 480 in cf51227
| @container follow-up-composer style(--follow-up-composer-container-compact: true) { | |
| [data-follow-up-composer] [data-promptbox-layout] { | |
| height: 100%; | |
| } | |
| [data-follow-up-composer] [data-promptbox-main] { | |
| position: static; | |
| } | |
| [data-follow-up-composer] [data-promptbox-submit-group] { | |
| position: static; | |
| z-index: 1; | |
| } | |
| [data-follow-up-composer] [data-promptbox-submit-action] { | |
| width: 2rem; | |
| height: 2rem; | |
| margin-left: 0; | |
| padding: 0; | |
| } | |
| [data-follow-up-composer] [data-promptbox-submit-label] { | |
| display: none; | |
| } | |
| [data-follow-up-composer] [data-follow-up-composer-footer] { | |
| min-height: 0; | |
| max-height: 0; | |
| margin-top: 0; | |
| opacity: 0; | |
| pointer-events: none; |
The adjacent compact rules already scope their behavior to :not([data-follow-up-composer-expanded]), which identifies the missing guard on the footer rule.
What you ruled out
- This is not missing environment or context data: React renders the footer after expansion, and CSS alone keeps it invisible.
- It does not reproduce on a wide desktop composer because the compact container query is inactive.
- Context-window usage indicator flickers when hovered on compact viewports #3334 concerns hover-driven context popover flicker, not a footer that remains hidden after expansion.
- Narrow side-chat composer collapses when opening the model picker #2394 concerns a narrow side-chat composer collapsing when a model picker opens, not the main follow-up footer.
Suggested priority and effort
Medium, low effort: mobile users cannot inspect execution context while composing, but no work or data is lost. Scope the existing footer-collapse selector to unexpanded composers and add a CSS regression assertion.
Checks
- Reproduced on the reported iOS client and confirmed on current
mainsource. - Searched open and closed issues for the same problem.
- The report links the investigation thread and ends with the required marker.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 13, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotApplied Bug · Medium priority · Low effort, with
uiandmobile.Reproduction report: REPRODUCED, high root-cause confidence. The compact footer-collapse selector also matches expanded composers. Repeated the browser reproduction and failing regression test in two clean trusted-main checkouts; native iOS keyboard interaction was not tested. Reproduction label:
confirmed-repro.The locally authored guard passed the focused regression and all 4,587 app tests (3 skipped). No duplicate PR was opened or fix pushed because PR #3602 now links to this issue and contains the same guard.
ymichael commentedon Oct 8, 2026
Fixed by #4470: the expanded mobile composer keeps its environment and context footer visible.