[PR #11179] fix(app): terminal tabs - auto scroll on addition & scroll via mouse … #13675

Open
opened 2026-02-16 18:18:30 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11179

State: open
Merged: No


Closes #11174

What does this PR do?

Fixes two issues with the terminal tabs in the session view:

  • Auto-scroll to new tabs: When opening a new terminal tab, the tab list now automatically scrolls to show the rightmost tab, ensuring the tab name and close button are fully visible.
  • Mouse wheel scrolling: Users can now scroll through tabs horizontally via mouse wheel

How did you verify your code works?

ran locally, ran e2e test suite (local, 1 failure vs 21 passes - same as before the change. The failure is preexisting issue:
e2e\file-tree.spec.ts:3:1 › file tree can expand folders and open a file)

Before

https://github.com/user-attachments/assets/f579633e-626b-40bc-b261-a676aeff7d5d

After

https://github.com/user-attachments/assets/a5f7893b-425d-4f00-9674-a2a4f54b9122

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11179 **State:** open **Merged:** No --- Closes #11174 ### What does this PR do? Fixes two issues with the terminal tabs in the session view: - Auto-scroll to new tabs: When opening a new terminal tab, the tab list now automatically scrolls to show the rightmost tab, ensuring the tab name and close button are fully visible. - Mouse wheel scrolling: Users can now scroll through tabs horizontally via mouse wheel ### How did you verify your code works? ran locally, ran e2e test suite (local, 1 failure vs 21 passes - same as before the change. The failure is preexisting issue: e2e\file-tree.spec.ts:3:1 › file tree can expand folders and open a file) ### Before https://github.com/user-attachments/assets/f579633e-626b-40bc-b261-a676aeff7d5d ### After https://github.com/user-attachments/assets/a5f7893b-425d-4f00-9674-a2a4f54b9122
yindo added the pull-request label 2026-02-16 18:18:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13675