Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Scroll to Previous Message #1440

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

evalstate
Copy link
Contributor

@evalstate evalstate commented Aug 27, 2024

This PR adds a "Scroll to Previous Message" button.

The "Scroll to Previous Message" button appears when both the "Scroll to Bottom" button appears and we are not already at the top of first message.

Clicking it scrolls to either the top of the current message, or to the top of the previous message if already at top.

I'm a heavy user of Chat-UI and have found this very helpful when navigating long chats, especially those with branches.

Both "Scroll to Previous" and "Scroll to Bottom" are now visible below the "md" resize point, with the buttons vertically at the 50% point.

image

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.

1 participant