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

feat: Better autoscroll - for #909 #1054

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Conversation

alexhancock
Copy link
Collaborator

  • Addresses GUI: Goose insists on scrolling to the end, even when you're trying to read the scrollback #909
  • Pulls the automatic scrolling logic into the ScrollArea component with an optional autoScroll param to enable this behavior
  • Removes associated logic from ChatWindow
  • Exposes a scrollToBottom method which parent components can use the programmatically trigger a scroll to the bottom (ChatWindow uses this to always scroll to the bottom when a user sends a message)
  • Aways scrolls to the bottom when children of the ScrollArea viewport change if the user was scrolled to the bottom previously
  • Temporarily disables auto scroll if the user scrolls away from the bottom

@alexhancock alexhancock merged commit a0a7a5b into main Feb 3, 2025
4 checks passed
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