Skip to content

fix: improve standup chat auto-scroll#6039

Merged
idoshamun merged 1 commit into
mainfrom
codex/standup-chat-auto-scroll
May 12, 2026
Merged

fix: improve standup chat auto-scroll#6039
idoshamun merged 1 commit into
mainfrom
codex/standup-chat-auto-scroll

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented May 12, 2026

What changed

  • make the standup live-chat panel follow long newly-added messages after layout settles instead of stopping on the first visible line
  • pause auto-scroll while the user is actively scrolling the chat pane, then catch up once scrolling goes idle if they are still pinned near the bottom
  • add focused coverage for both the long-message and user-scrolling behaviors

Why

Long comments could increase the message height after the previous one-shot scroll adjustment, leaving the bottom lines hidden. The chat also kept treating "near bottom" as enough to auto-scroll even while the user was interacting with the scroller.

Impact

Standup chat on /standups/[id] keeps the newest full message visible without fighting users who are reading earlier messages.

Validation

  • pnpm --filter @dailydotdev/shared exec eslint src/components/liveRooms/LiveRoomChatPanel.tsx src/components/liveRooms/LiveRoomChatPanel.spec.tsx
  • NODE_ENV=test pnpm --filter @dailydotdev/shared exec jest src/components/liveRooms/LiveRoomChatPanel.spec.tsx --runInBand
  • NODE_ENV=test pnpm --filter @dailydotdev/shared exec jest src/components/liveRooms/LiveRoom.spec.tsx --runInBand
  • node ./scripts/typecheck-strict-changed.js

Preview domain

https://codex-standup-chat-auto-scroll.preview.app.daily.dev

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview May 12, 2026 1:26pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored May 12, 2026 1:26pm

Request Review

@idoshamun idoshamun marked this pull request as ready for review May 12, 2026 13:24
@idoshamun idoshamun merged commit 7551f15 into main May 12, 2026
15 checks passed
@idoshamun idoshamun deleted the codex/standup-chat-auto-scroll branch May 12, 2026 13:28
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