Skip to content

Keep narrow composer open during overlay trigger presses - #2912

Merged
SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2911
Sep 2, 2026
Merged

SawyerHood merged 1 commit into
mainfrom
slopcop/issue-2911

Conversation

@bb-slop-cop

@bb-slop-cop bb-slop-cop Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

🚨 SLOP COP 🚨 · new-issue-autopilot

Human comments

What was wrong

The shared popover blurred the editor before pointer release. The next focus frame collapsed the composer before the trigger entered its open state.

The direct reproduction and root-cause report is at https://get-bb.github.io/reports/issues/2911.html.

What changed

The composer now tracks a pointer press that starts on one of its overlay triggers.

It keeps the expanded state until pointer release. It clears the press state after the overlay can enter its open state.

The change affects no wire protocol, CLI surface, stored data, or public contract.

How you verified

  • The focused regression test failed on origin/main. It expected false and received true for the compact state.
  • The focused regression test passed after the fix.
  • The full @bb/app suite passed 3,735 tests across 467 files. Three tests remained skipped.
  • pnpm exec turbo run typecheck --filter=@bb/app passed.
  • pnpm exec turbo run lint --filter=@bb/app passed with no errors.
  • The formatter check passed for both changed files.
  • A real 150 ms browser press kept the composer open. The picker opened after release.
  • The EAP codename scan found no match in origin/main..HEAD.

The change has 111 text lines across two files. It has no binary change.

Fixes #2911

AGENT GENERATED

@SawyerHood
SawyerHood merged commit b051b2d into main Sep 2, 2026
15 checks passed
@SawyerHood
SawyerHood deleted the slopcop/issue-2911 branch September 2, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Narrow follow-up composer collapses under its own model picker on a real click

1 participant