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

fix: Console scroll bar following dynamic output (#2076) #2321

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Dec 30, 2024

Resolves #2060

Changes Implemented:

  • Added isStuckToBottom state that is updated on each scroll (in handleScrollPaneScroll), then in componentDidUpdate, call the scrollConsoleHistoryToBottom based on isStuckToBottom

Needed to support cherry-picking #2320 to v0.78.

Resolves deephaven#2060

**Changes Implemented:**
- Added `isStuckToBottom` state that is updated on each scroll (in
`handleScrollPaneScroll`), then in `componentDidUpdate`, call the
`scrollConsoleHistoryToBottom` based on `isStuckToBottom`
@mofojed mofojed requested a review from vbabich December 30, 2024 14:31
@mofojed mofojed self-assigned this Dec 30, 2024
@mofojed mofojed merged commit f184802 into deephaven:release/v0.78 Jan 2, 2025
8 checks passed
@mofojed mofojed deleted the v0.78-fix-console-scroll-on-visibility-change branch January 2, 2025 17:28
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2025
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.

3 participants