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
Delegated Markdown preview cannot scroll in the thread right panel #5336
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportpluginsPlugin SDK, runtime, marketplaceuiApp shell, sidebar, composer, rendering
A long Markdown file opened in a thread's right panel cannot scroll when a plugin file opener delegates to the built-in preview. The Preview tab clips the document after the first screen; mouse-wheel input does not move it.
Versions and environment
Source main e9ad6b0, Linux, Node 24.21.0. Isolated source web app with fresh data and headless Chrome at 1280×577. Reported in BB thread thr_888yye2r7z; investigated in thr_frq37qj86d.
Steps to reproduce
Register a plugin file opener for md that renders its supplied Original component.
Create a long file: python3 -c 'print("# Reading\n\nParagraph.\n\n" * 100)' > reading.md.
Run bb thread open <thread-id> <absolute-path-to-reading.md>.
Select Preview and wheel down over the right panel.
Expected vs actual
Expected: the Markdown preview scrolls and retains its reading position when switching tabs.
Actual: wheel input leaves every ancestor at scrollTop: 0. The file preview's scrollHeight is 5391 while its available height is 529; all enclosing panel wrappers use overflow: hidden and no [data-file-preview-scroll-container] exists.
Evidence
The Markdown content-height layout depends on a scrolling parent. Plugin file openers instead occupy a full-height, overflow-hidden region. This mismatch leaves delegated Markdown without a wheel-scrollable container.
Verdict:REPRODUCED, high confidence; applied confirmed-repro.
Root cause: Delegated native Markdown requires a scrolling parent, but the full-height plugin opener clips its content and supplies no scroll owner.
Evidence: Real wheel input fails in two trusted-main checkouts; five delegated regression cases fail while five native cases pass. A local scroll-host experiment restores scrolling and reading position; all 84 relevant tests, app lint, and typecheck pass.
No new PR: Existing open #5337 already links this issue. No duplicate fix was committed or pushed; the local experiment was removed.
confirmed-reproBug reproduced again from a clean trusted checkout; see linked reportpluginsPlugin SDK, runtime, marketplaceuiApp shell, sidebar, composer, rendering
Activity
bb-slop-cop commentedon Oct 10, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotui,plugins.confirmed-repro.Restore scrolling in Markdown secondary-panel previews (get-bb#5337)