Skip to content

Fix/logbook scroll bottom#593

Open
derangulacau wants to merge 11 commits intopaulscherrerinstitute:mainfrom
HayenNico:fix/logbook-scroll-bottom
Open

Fix/logbook scroll bottom#593
derangulacau wants to merge 11 commits intopaulscherrerinstitute:mainfrom
HayenNico:fix/logbook-scroll-bottom

Conversation

@derangulacau
Copy link
Copy Markdown

Bug Description
When opening a logbook, the view did not scroll to the latest message.
Instead, it sometimes displayed content from the middle or older entries,
requiring manual scrolling.

Fix
Updated the logbook scroll behavior to ensure that the latest message
is displayed when a logbook is opened.

ensure viewport initializes at the end of the logbook
trigger scroll-to-end after data is loaded
align behavior with expected chat-like experience
Result
logbook now opens at the most recent entry
no manual scrolling needed
improved user experience

derangulacau and others added 9 commits March 12, 2026 15:04
## Bug Description

When opening a logbook, the view did not scroll to the latest message.
Instead, it sometimes displayed content from the middle or older entries,
causing confusion and requiring manual scrolling.

## Fix

Updated the logbook scroll behavior to ensure that the latest message
is displayed when a logbook is opened.

- ensure viewport initializes at the end of the logbook
- trigger scroll-to-end after data is loaded
- align behavior with expected chat-like experience

## Result

- logbook now opens at the most recent entry
- no manual scrolling needed
- consistent and intuitive user experience

## Related Issue

Closes paulscherrerinstitute#446
@derangulacau derangulacau requested a review from a team as a code owner April 22, 2026 13:12
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.

4 participants