Skip to content

fix: Console scroll bar following dynamic output#2076

Merged
AkshatJawne merged 7 commits intodeephaven:mainfrom
AkshatJawne:2060_console_scroll_bar_fix
Jun 14, 2024
Merged

fix: Console scroll bar following dynamic output#2076
AkshatJawne merged 7 commits intodeephaven:mainfrom
AkshatJawne:2060_console_scroll_bar_fix

Conversation

@AkshatJawne
Copy link
Copy Markdown
Contributor

Resolves #2060

Changes Implemented:

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

@AkshatJawne AkshatJawne self-assigned this Jun 13, 2024
Comment thread packages/console/src/Console.tsx Outdated
Comment thread packages/console/src/Console.tsx
Comment thread packages/console/src/Console.tsx Outdated
@AkshatJawne AkshatJawne requested a review from mattrunyon June 14, 2024 15:05
@AkshatJawne AkshatJawne merged commit a91e4f3 into deephaven:main Jun 14, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 14, 2024
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.

Console scroll bar won't follow dynamic output

2 participants