[PR #6155] feat(tui): enable scrollbar on hover for chat history #11756

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

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

State: open
Merged: No


Summary

Shows the vertical scrollbar on hover in the chat history column when content is scrollable.

Changes

  • Scrollbar appears only when hovering over the chat history area
  • Only visible when content actually overflows (scrollHeight > viewport height)
  • Respects existing toggle setting via command palette

Why

  1. Difficult to gauge conversation length/position in long sessions without visual indicator
  2. Related to scroll UX issues reported in #6895 and #6901 - having a visible scrollbar helps users understand scroll state

Notes

This builds on the existing scrollbar_toggle feature (which was disabled by default). The scrollbar visibility logic was already implemented - this PR just enables it by default with hover behavior.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6155 **State:** open **Merged:** No --- ## Summary Shows the vertical scrollbar on hover in the chat history column when content is scrollable. ## Changes - Scrollbar appears only when hovering over the chat history area - Only visible when content actually overflows (scrollHeight > viewport height) - Respects existing toggle setting via command palette ## Why 1. Difficult to gauge conversation length/position in long sessions without visual indicator 2. Related to scroll UX issues reported in #6895 and #6901 - having a visible scrollbar helps users understand scroll state ## Notes This builds on the existing `scrollbar_toggle` feature (which was disabled by default). The scrollbar visibility logic was already implemented - this PR just enables it by default with hover behavior.
yindo added the pull-request label 2026-02-16 18:16:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11756