← reports

#6817 · Unbounded plugin detail pane prevents scrolling

Bug Medium priority Low effort ui · plugins

GitHub issue · November 2, 2026 · base 916d684ac23d0b0de82c09cfc7553a50287d2188

Verdict: REPRODUCED · Root-cause confidence: high · reproduction label: confirmed-repro

1. TL;DR

The right-hand plugin detail tab expands to the height of its contents instead of the space available in the panel. Its internal scroll container therefore has no overflow, while an outer container clips the content. This makes long descriptions and long configuration forms unreachable. The failure occurs with bundled plugins in a fresh source development instance, without third-party code or a provider turn. A second clean checkout reproduces both cases.

2. Claims vs findings

ClaimFindingEvidence
Long plugin details cannot scroll.VerifiedBundled Git details have clientHeight = scrollHeight and remain at scrollTop 0 after a native scroll request.
Configuration can also be clipped.VerifiedBundled Claude Code configuration expands to 842px; the 537px panel body clips it.
The host layout, not a third-party plugin, causes the failure.VerifiedBoth examples use trusted bundled plugins; their common pane exceeds its block parent's bounded height.
Standalone settings are a workaround.Verified for the tested bundled formAt the standalone settings route on the unchanged second checkout, the form has clientHeight 585, scrollHeight 734, and reaches scrollTop 149.
The packaged macOS build and a third-party plugin behave identically.Not separately verifiedThis investigation uses Linux headless Chrome and trusted source only. No macOS build, third-party plugin, user runtime data, issue attachment, or issue-linked code was executed.

3. Environment

4. Minimal reproduction

  1. Check out the recorded main commit in a clean directory. Run pnpm install --frozen-lockfile --prefer-offline, pnpm exec turbo run build --filter=@get-bb/plugin-sdk, then pnpm exec turbo run build.
  2. Start pnpm dev with a fresh checkout-specific store, as documented in docs/debugging-and-qa.md. Open its printed app URL in a BB Browser Automation headless session, at a desktop-size viewport.
  3. Open Plugins → Installed plugins, select Git, and try scrolling the right panel. Its lower description and capabilities are clipped.
  4. Open Claude Code provider, then its gear/configuration view. The lower controls are similarly clipped. Do not change any settings.
  5. Run the linked behavioral regression script with the main browser page already on the isolated app. It opens both routes, waits for actual content, requests scrolling to the end, and checks containment and scroll progress.
bb browser-automation run SESSION --script-file "$PWD/apps/app/scripts/plugin-detail-scroll.browser.js" --script-host HOST_ID --timeout 60s --json

Expected: both scroll containers stay within the panel, have content taller than their viewport, and reach the end with scrollTop > 0. Actual:

First checkout:
Git details: clientHeight=2233, scrollHeight=2233, scrollTop=0, contained=false
Claude configuration: clientHeight=842, scrollHeight=842, scrollTop=0, contained=false
exitCode=1
Error: Plugin details and configuration must scroll inside the right panel

Second clean checkout:
Git details: clientHeight=1676, scrollHeight=1676, scrollTop=0, contained=false
Claude configuration: clientHeight=842, scrollHeight=842, scrollTop=0, contained=false
exitCode=1
Error: Plugin details and configuration must scroll inside the right panel

Git content height differs with persisted panel width; neither run has a working scroll range. The script checks behavior rather than a particular Tailwind class or pixel height. Short forms that fit inside the panel do not demonstrate the failure.

Fresh installed plugins list before opening the details tab
Before opening a detail tab: the isolated source instance's installed-plugin list.
Git detail tab clipped at the bottom of the window
After clicking Git and attempting to scroll: the description continues below the window, but scrollTop remains zero. Captured from the first checkout.
Bundled provider configuration clipped below the viewport
The second clean checkout also clips the configuration form. Lower settings exist in the DOM but cannot be reached by scrolling.

Executable regression script · First run output · Second run output

Regression script source
const page = await browser.getPage("main");
const origin = await page.evaluate(() => location.origin);
if (!/^http:\/\/(localhost|127\.0\.0\.1):\d+$/.test(origin)) {
  throw new Error("Open an isolated local source app before running this test");
}

const results = [];
for (const scenario of [
  {
    path: "/plugins/bb--git?view=installed",
    title: "Git",
    readyText: "Capabilities",
  },
  {
    path: "/plugins/provider-claude-code?view=installed&configure=provider-claude-code",
    title: "Claude Code provider",
    readyText: "Approvals in Full Access",
  },
]) {
  await page.goto(`${origin}${scenario.path}`);
  await page.evaluate(async ({ title, readyText }) => {
    for (let attempt = 0; attempt < 200; attempt++) {
      const panel = document.querySelector("aside:has(h1)");
      if (
        panel?.querySelector("h1")?.textContent === title &&
        panel.textContent.includes(readyText)
      ) {
        await new Promise(requestAnimationFrame);
        await new Promise(requestAnimationFrame);
        return;
      }
      await new Promise((resolve) => setTimeout(resolve, 100));
    }
    throw new Error(`Plugin content did not become ready: ${title}`);
  }, scenario);
  const result = await page.evaluate(() => {
    const panel = document.querySelector("aside:has(h1)");
    const scroller = Array.from(panel.querySelectorAll("div")).find(
      (element) => getComputedStyle(element).overflowY === "auto",
    );
    if (!scroller) throw new Error("Plugin scroll container is missing");
    scroller.scrollTop = scroller.scrollHeight;
    const bounds = scroller.getBoundingClientRect();
    const panelBounds = panel.getBoundingClientRect();
    return {
      clientHeight: scroller.clientHeight,
      scrollHeight: scroller.scrollHeight,
      scrollTop: scroller.scrollTop,
      contained: bounds.top >= panelBounds.top && bounds.bottom <= panelBounds.bottom + 1,
      reachedEnd: Math.abs(scroller.scrollTop + scroller.clientHeight - scroller.scrollHeight) <= 1,
    };
  });
  results.push({ path: scenario.path, ...result });
}
console.log(JSON.stringify(results, null, 2));
if (
  results.some(
    (result) =>
      !result.contained ||
      result.scrollTop <= 0 ||
      result.scrollHeight <= result.clientHeight ||
      !result.reachedEnd,
  )
) {
  throw new Error("Plugin details and configuration must scroll inside the right panel");
}

5. Root cause

Plugin-detail tabs request the fill-region presentation. That presentation supplies a bounded block wrapper, not a flex container. PluginDetailPaneView is itself a flex column, but its flex-1 does not make it fill that block parent's height. With automatic height it instead expands with its descendants.

ResourceScrollPage contains the real overflow-y-auto element with a full-height wrapper. Because that height follows the already-expanded pane, clientHeight equals scrollHeight and a native scrollTop assignment clamps to zero. The outer overflow-hidden wrapper then clips the remaining content.

Observed first-run ancestor chain, Git details:
inner overflow-y-auto: display=block, client=2233, scroll=2233
PluginDetailPaneView root: display=flex, client=2233
immediate panel slot: display=block, client=537, scroll=2233, overflowY=hidden

6. Proposed fix

Give the shared plugin detail pane an explicit height matching its containing block so that the existing flex descendants and internal scroll container have a bounded viewport. Preserve the scroll owner, routing, configuration lifecycle, and panel host contract. Validate both long details and long configuration with the attached browser regression, plus the existing plugin-detail and secondary-panel suites. No protocol, schema, dependency, or stored-data change is needed.

7. Verification

The same agent repeated the reproduction, not an independent reviewer. The second checkout was a newly created detached worktree at the full recorded base SHA, with no production edits, its own frozen install/build, fresh store, different app/server/daemon ports, and a fresh headless browser session. Its command was the same bb browser-automation run invocation with the attached script, after opening app port 14973. Both scenarios fail for the intended containment and scroll-progress assertions. Only the measured Git content height was corrected for its different panel width; the verdict and root-cause mechanism are unchanged.

No open pull request linked to #6817 was found through issue timeline metadata and an open-PR search at investigation time.

Small-fix validation

After constraining only the shared pane root to its containing height, the same behavioral regression passes: Git details become clientHeight 537 / scrollHeight 1676 and reach scrollTop 1139; the configuration becomes 537 / 875 and reaches scrollTop 338. Both containers remain inside the right panel and reach their end. After-fix browser output. The existing plugin-detail, plugin panel host, and Markdown secondary-panel suites pass all 95 tests across three files. App lint and typecheck pass; lint reports existing warnings and zero errors.

Configuration scrolled to its final controls after bounding the shared pane
After the local root-cause correction, the same configuration form reaches its final controls inside the panel.

8. Related issues and limits

Search results included broader plugin UI work, but no duplicate open fix was found for this issue. The report does not claim verification of native macOS wheel handling, PageDown, iOS drawers, or third-party plugins. Its proof is a real browser layout and native scroll-position test of the affected shared host pane.

9. Appendix

Relevant source checks used the recorded trusted commit. Browser screenshots are real captures; the published PNG files are losslessly converted from the automation tool's JPEG output. Raw regression results are linked above. Full builds passed in both checkouts. The verification-skill inventory check reported pre-existing unmapped CLI-family drift, unrelated to this pane; no inventory baseline was rewritten.

Untrusted-data handling: Issue text and suggestions were treated only as hypotheses. No issue instructions, external links, patches, scripts, attachments, or linked branches were followed or executed. The test and root-cause proposal were derived from trusted repository code and direct browser measurements.

> AGENT GENERATED