Skip to content

Fix tall chat transcript scrolling - #140

Merged
MaggieAppleton merged 3 commits into
mainfrom
maggie/fix-chat-transcript-scroll
Aug 28, 2026
Merged

Fix tall chat transcript scrolling#140
MaggieAppleton merged 3 commits into
mainfrom
maggie/fix-chat-transcript-scroll

Conversation

@MaggieAppleton

Copy link
Copy Markdown
Collaborator

Summary

  • keep short Chat transcripts bottom-aligned without negative flex overflow
  • make older messages reachable when a transcript exceeds the pane
  • cover desktop and compact/mobile layouts with a Playwright regression

Root cause

The transcript stack used justify-end. Once its content exceeded the scroll container, flexbox aligned the overflow above the scroll origin, so setting scrollTop to zero still left older messages offscreen. A first-child auto margin preserves bottom alignment only while free space exists and collapses safely for tall content.

Verification

  • bun test apps/web/src/chat (51 pass)
  • bun run types
  • bun run ci
  • Playwright: chat keeps the start of a tall transcript reachable across layouts

@MaggieAppleton
MaggieAppleton merged commit b2d6ce6 into main Aug 28, 2026
3 checks passed
@MaggieAppleton
MaggieAppleton deleted the maggie/fix-chat-transcript-scroll branch August 28, 2026 10:39
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