Skip to content

fix: make message nav tooltip scrollable for long session lists#6759

Closed
iso2kx wants to merge 1 commit into
anomalyco:devfrom
iso2kx:fix/message-nav-tooltip-scroll
Closed

fix: make message nav tooltip scrollable for long session lists#6759
iso2kx wants to merge 1 commit into
anomalyco:devfrom
iso2kx:fix/message-nav-tooltip-scroll

Conversation

@iso2kx

@iso2kx iso2kx commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

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.

@adamdotdevin

Copy link
Copy Markdown
Member

hey, thanks for this, but we merged a PR yesterday for this!

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.

2 participants