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
[Bug]: Sidebar thread hover lays out every linked PR and janks on long lists #38965
Open the sidebar in a workspace with a thread that has around 20 or more linked pull requests.
Hover that thread row, then try a nearby thread with only a few linked PRs.
Inspect the thread hover card. Every linked PR is laid out in the hover, including when the PR badge already gives access to the full list.
Expected behavior
The hover opens promptly and fits as a compact preview. The full list is still available through the thread's PR badge.
Actual behavior
On macOS Nightly, hovering PR-heavy threads feels sluggish and can cover a large part of the window. A 20-PR hover mounted all 20 rows and measured 557 CSS pixels tall. I also observed a 43-PR thread mounting all 43 rows.
One possible fix is to render a bounded preview in this hover, with a “+N more linked PRs” summary. Preserve ordering and stack presentation when selecting those rows, and keep the full list in the existing PR controls. Applying the limit before creating row elements would also remove the excess React mount work.
Fixed by #43222, now on main: Hovering a thread with 20 or more linked PRs now mounts only eight PR rows with a '+N more' summary, preserves chain ordering and stack presentation, and keeps the full list available through Linked items.
Activity
juliusmarminge commentedon Nov 26, 2026
Fixed by #43222, now on main: Hovering a thread with 20 or more linked PRs now mounts only eight PR rows with a '+N more' summary, preserves chain ordering and stack presentation, and keeps the full list available through Linked items.