Skip to content

fix: keep conversation pinned to the tail and show scroll-to-bottom label - #744

Merged
pikann merged 1 commit into
masterfrom
fix/fix-failed-e2e-testings
Nov 13, 2026
Merged

pikann merged 1 commit into
masterfrom
fix/fix-failed-e2e-testings

Conversation

@pikann

@pikann pikann commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes the failing conversation-follow.spec.ts e2e test ("A message sent while scrolled up is shown without a reload"), which failed on chromium and webkit in the e2e-tests run, and fixes the scroll-to-bottom button, which rendered as an empty box.

Changes

  • Auto-scroll: Thread now passes autoScroll={turnAnchor === "bottom"} to MessageScrollerProvider. The scroller's autoScroll defaults to off, so turnAnchor="bottom" never kept the viewport pinned to the tail. Sending a message scrolled to the end once, before the real message and the agent's reply arrived, and nothing followed the growth afterwards. The top-anchored threads (floating chats, new-conversation thread) are unchanged.
  • Scroll-to-bottom button: it only contained an sr-only label, so nothing was visible. It is now a small pill showing the translated agents.thread.scrollToBottom text, styled like the "new messages" pill.

Testing

  • tsc -b and biome pass for apps/web.
  • vitest for src/components/chat and src/components/projects/agents passes (186 tests).
  • The e2e spec has not been re-run against the e2e stack.

@pullfrog

pullfrog Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

This run was cancelled before it finished.

Pullfrog  | View workflow run | via Pullfrog

@pikann pikann changed the title fix: enhance auto-scrolling behavior and improve message scroller but… fix: keep conversation pinned to the tail and show scroll-to-bottom label Nov 13, 2026
@pikann
pikann merged commit 4396ec6 into master Nov 13, 2026
1 of 2 checks passed
@pikann
pikann deleted the fix/fix-failed-e2e-testings branch November 13, 2026 18:46
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