Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Fix scrolling in topic tree and message list views#2

Merged
frahlg merged 2 commits intomasterfrom
claude/fix-github-issues-XbYnB
Jan 22, 2026
Merged

Fix scrolling in topic tree and message list views#2
frahlg merged 2 commits intomasterfrom
claude/fix-github-issues-XbYnB

Conversation

@frahlg
Copy link
Member

@frahlg frahlg commented Jan 22, 2026

The ListState was being created fresh on every render with default offset=0, causing the scroll position to reset. This prevented users from scrolling through large lists of topics.

Changes:

  • Update tree_view to track scroll offset and ensure selection is visible
  • Update message_view with same scroll behavior
  • Persist scroll offset in App state (tree_scroll, message_scroll)
  • Pass mutable App reference to render functions

Fixes #1

The ListState was being created fresh on every render with default
offset=0, causing the scroll position to reset. This prevented users
from scrolling through large lists of topics.

Changes:
- Update tree_view to track scroll offset and ensure selection is visible
- Update message_view with same scroll behavior
- Persist scroll offset in App state (tree_scroll, message_scroll)
- Pass mutable App reference to render functions

Fixes #1
@frahlg frahlg merged commit cc6eb2f into master Jan 22, 2026
5 of 6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

i want to be able to can scroll up and down in cli

2 participants