Skip to content

Fix Right Pane Overflow with Viewport-Based Scrolling#9

Merged
jcleira merged 1 commit intomasterfrom
fix-scrolling
Feb 6, 2026
Merged

Fix Right Pane Overflow with Viewport-Based Scrolling#9
jcleira merged 1 commit intomasterfrom
fix-scrolling

Conversation

@jcleira
Copy link
Owner

@jcleira jcleira commented Feb 6, 2026

  • Objective

This commit resolves overflow issues in the details panel when workspaces contain many repositories.

  • Why

The panel overflowed because maxVisible counted repositories rather than lines, while each repository renders as 4–6 lines.

  • How

Replaces manual scrolling with the Bubbles viewport component, following the same pattern used in diffview.go. Adds auto-scroll on cursor navigation and a scroll percentage indicator.

* Objective

This commit resolves overflow issues in the details panel when
workspaces contain many repositories.

* Why

The panel overflowed because `maxVisible` counted repositories
rather than lines, while each repository renders as 4–6 lines.

* How

Replaces manual scrolling with the Bubbles viewport component,
following the same pattern used in `diffview.go`. Adds auto-scroll
on cursor navigation and a scroll percentage indicator.
@jcleira jcleira merged commit 9aa1936 into master Feb 6, 2026
4 checks passed
@jcleira jcleira deleted the fix-scrolling branch February 6, 2026 07:24
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.

1 participant