You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Narrow side-chat composer collapses when opening the model picker #2394
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportside-chatBuilt-in plugin: side-chatuiApp shell, sidebar, composer, rendering
When the side-chat panel is narrow, the composer starts as a pill. Clicking the pill expands it, but clicking the model selector immediately collapses the composer again instead of opening the model picker.
The model picker works normally when the panel is wide enough for the full composer to stay visible.
Versions and environment
bb 0.39.0 (web app), Ubuntu 24.04
pi, Gemini 3.7 Flash via CLIProxyAPI
local environment, bb Connect paired
Steps to reproduce
Open a side chat in a narrow panel.
Click the composer pill to expand it.
Click the model selector.
The composer collapses back into a pill.
The model picker never opens.
Expected vs actual
Expected: The model picker should open and the composer should stay expanded.
Actual: The composer collapses back into the pill, so the model picker can't be used.
Evidence
Screen.Recording.2026-08-25.at.12.59.58.PM.mov
What you ruled out
The model picker is not generally broken. It works when the side-chat panel is wide.
This only reproduces at narrow side-chat widths.
No matching open BB issue or PR was found.
Suggested priority and effort (optional)
Medium - The side chat still works if the panel is widened, but model switching is blocked at narrow widths. Suggested effort is small to medium, depending on where the responsive collapse state is handled.
Checks
I reproduced this on the latest release or on main, or I say above that I could not.
I searched open and closed issues for the same problem.
If an agent wrote this, the body ends with > AGENT GENERATED and links the thread or report.
Root cause (short): The desktop popover blurs the side-chat editor before the picker opens, so the narrow composer hides the trigger before pointer release.
Proposed fix: Remove the premature desktop popover blur. Keep the compact mobile blur. Add a held-pointer test for the narrow composer.
Caveats: The revised reproduction passed from a clean browser page. The temporary fix passed 46 focused tests. The full app suite and iOS Safari require more checks.
The report has copy-paste repro steps, screenshots where the bug is visual, code permalinks at the base commit, and repro artifacts. It was independently re-run by a second agent (see its Verification section).
Third reproduction surface, with the exact trigger
This also reproduces on a phone in plugin-mounted ThreadChat (a plugin panel hosting a thread via the Plugin SDK), and on the plain thread page at phone width. The footer that holds permission mode, project/environment/branch, and the context meter is laid out at full width and then hidden with zero height, so there is no way to change permission mode from a phone.
Versions and environment: bb 0.42.0 (npmbb-app), Linux server, phone client Safari/Chrome on iOS, and Chromium at 390 x 844. Code unchanged at main6cdb4ba.
Steps (bb's own thread page, no plugin needed)
Open any thread at 390 x 844 (or Chrome device mode iPhone 14).
Tap into the reply textbox.
Tap the model chip: the bottom sheet opens normally.
Look for the permission mode control: it is in the DOM but has no height and no pointer events.
Measured (390 x 844, light, textbox focused, sidebar closed; getBoundingClientRect on the rendered tree)
element
box
[data-follow-up-composer]
x=16 y=712 358 x 116
[data-follow-up-composer-footer]
x=16 y=828 358 x 0
"Permission mode" button inside it
56 x 24 at 272,816 (exists, clipped)
Trigger is a width container query, not focus or pointer:
sets --follow-up-composer-container-compact: true for promptbox-shell at max-width: 30rem (and for a short thread-pane), and the style() container block then applies opacity: 0; pointer-events: none; min-height: 0; max-height: 0; margin-top: 0 to the footer rendered at
. So every viewport at or under 480 px hits it regardless of the premature-blur cause in the report above; fixing the blur alone will still leave the footer unreachable on phones.
What a plugin cannot do about it: ThreadChat is a host component. permissionPolicy="editable" is set; there is no SDK prop to keep the footer open, no exposed setter for a thread's permission mode, and no slot inside the composer for a replacement control.
Smallest host change that would work: keep the footer as a single 44 px row under the textbox while the composer is focused or expanded on compact, or add permission mode as a third section of the existing model/reasoning bottom sheet. Either gives one tap to change mode on a phone.
Ruled out: not focus-related (values do not change with the textbox focused or blurred); not plugin-specific (same on the plain thread page); still present on main at 6cdb4ba.
AGENT GENERATED (Claude, Chief of Staff thread on a bb install; findings from a mobile audit of six plugins on 2026-09-05/06)
can't retest on my end rn, don't have bb running anymore. but traced it and side chat renders the same FollowUpPromptBox (via ThreadChat → ThreadScreen), so #2912's fix covers it, and it's still on main. good to close, i'll reopen if it shows up again
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportside-chatBuilt-in plugin: side-chatuiApp shell, sidebar, composer, rendering
Activity
SawyerHood commentedon Aug 27, 2026
Reproduction & root-cause report: https://get-bb.github.io/reports/issues/2394.html
The report has copy-paste repro steps, screenshots where the bug is visual, code permalinks at the base commit, and repro artifacts. It was independently re-run by a second agent (see its Verification section).
jonolee-kr commentedon Aug 28, 2026
Additional reproduction surface
This bug also occurs in the main thread follow-up composer.
Reproduction condition
The composer collapses instead of opening the model picker.
The hidden footer contains these controls:
The model picker works while the footer remains visible. The footer disappearance is a reliable breakpoint marker.
This evidence indicates that the defect is not limited to side chat.
jjanousek commentedon Sep 6, 2026
Third reproduction surface, with the exact trigger
This also reproduces on a phone in plugin-mounted
ThreadChat(a plugin panel hosting a thread via the Plugin SDK), and on the plain thread page at phone width. The footer that holds permission mode, project/environment/branch, and the context meter is laid out at full width and then hidden with zero height, so there is no way to change permission mode from a phone.Versions and environment: bb 0.42.0 (
npmbb-app), Linux server, phone client Safari/Chrome on iOS, and Chromium at 390 x 844. Code unchanged atmain6cdb4ba.Steps (bb's own thread page, no plugin needed)
Measured (390 x 844, light, textbox focused, sidebar closed;
getBoundingClientRecton the rendered tree)[data-follow-up-composer][data-follow-up-composer-footer]Trigger is a width container query, not focus or pointer:
bb/apps/app/src/app.css
Lines 428 to 452 in 6cdb4ba
--follow-up-composer-container-compact: trueforpromptbox-shellatmax-width: 30rem(and for a shortthread-pane), and thestyle()container block then appliesopacity: 0; pointer-events: none; min-height: 0; max-height: 0; margin-top: 0to the footer rendered atbb/apps/app/src/components/promptbox/FollowUpPromptBox.tsx
Lines 770 to 784 in 6cdb4ba
Captures (throwaway thread, content is only "OK"): composer focused, no footer · model sheet opens from the same composer · measurements and the matched CSS
What a plugin cannot do about it:
ThreadChatis a host component.permissionPolicy="editable"is set; there is no SDK prop to keep the footer open, no exposed setter for a thread's permission mode, and no slot inside the composer for a replacement control.Smallest host change that would work: keep the footer as a single 44 px row under the textbox while the composer is focused or expanded on compact, or add permission mode as a third section of the existing model/reasoning bottom sheet. Either gives one tap to change mode on a phone.
Ruled out: not focus-related (values do not change with the textbox focused or blurred); not plugin-specific (same on the plain thread page); still present on
mainat6cdb4ba.ValentinDutra commentedon Nov 17, 2026
This looks fixed by #2912, which closed #2911 (the same bug in a narrow follow-up composer).
The hidden footer from the third comment (no way to change permission mode on a phone) was fixed separately in #4470, which also closed #3601.
@celeroncoder does this still happen for you on 0.49.0? If not, I think this can be closed.
celeroncoder commentedon Nov 24, 2026
can't retest on my end rn, don't have bb running anymore. but traced it and side chat renders the same
FollowUpPromptBox(viaThreadChat→ThreadScreen), so #2912's fix covers it, and it's still on main. good to close, i'll reopen if it shows up againymichael commentedon Nov 25, 2026
Closing per the reporter's trace: side chat renders the same
FollowUpPromptBox, so #2912's fix covers this. Reopen if it shows up again.