[PR #6759] fix: make message nav tooltip scrollable for long session lists #12085

Closed
opened 2026-02-16 18:17:01 -05:00 by yindo · 0 comments
Owner

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

State: closed
Merged: No


Summary

  • Add max-height and overflow-y: auto to the message nav tooltip content
  • Allows scrolling within the tooltip when there are many messages in a session

Problem

On smaller screens (below 88rem/1408px), the message navigation rail shows in compact mode with tick marks. Hovering reveals a tooltip with the full message list. When there are many messages, the tooltip content overflows but cannot be scrolled, making it impossible to see/select later messages.

Solution

Added to [data-slot="message-nav-tooltip-content"]:

max-height: min(400px, 60vh);
overflow-y: auto;

This limits the tooltip height to 400px or 60% of viewport height (whichever is smaller) and enables vertical scrolling.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6759 **State:** closed **Merged:** No --- ## Summary - Add `max-height` and `overflow-y: auto` to the message nav tooltip content - Allows scrolling within the tooltip when there are many messages in a session ## Problem On smaller screens (below 88rem/1408px), the message navigation rail shows in compact mode with tick marks. Hovering reveals a tooltip with the full message list. When there are many messages, the tooltip content overflows but cannot be scrolled, making it impossible to see/select later messages. ## Solution Added to `[data-slot="message-nav-tooltip-content"]`: ```css max-height: min(400px, 60vh); overflow-y: auto; ``` This limits the tooltip height to 400px or 60% of viewport height (whichever is smaller) and enables vertical scrolling.
yindo added the pull-request label 2026-02-16 18:17:01 -05:00
yindo closed this issue 2026-02-16 18:17:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12085