Skip to content

perf(platform): reduce chat scrolling jitter on low-end devices - #1101

Merged
yannickmonney merged 1 commit into
mainfrom
perf/chat-scrolling-jitter
Apr 7, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
perf/chat-scrolling-jitter

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

Summary

  • Add will-change: transform to scroll container for GPU compositing
  • Debounce ResizeObserver callbacks with requestAnimationFrame guard
  • Add content-visibility: auto for offscreen messages to skip rendering work

Fixes #162

Promote the scroll container to a GPU-composited layer with
will-change-transform, coalesce rapid-fire ResizeObserver callbacks
behind a requestAnimationFrame guard, and apply content-visibility:auto
to older messages so the browser can skip rendering work for offscreen
content.

Closes #162
@coderabbitai

coderabbitai Bot commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Rate limit exceeded

@yannickmonney has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 28 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 15 minutes and 28 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5de3ba92-1409-4367-8b80-cabe0fa12b2d

📥 Commits

Reviewing files that changed from the base of the PR and between 968ee98 and df139f9.

📒 Files selected for processing (2)
  • services/platform/app/features/chat/components/chat-interface.tsx
  • services/platform/app/features/chat/components/chat-messages.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch perf/chat-scrolling-jitter

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@yannickmonney
yannickmonney merged commit aa75f63 into main Apr 7, 2026
19 of 23 checks passed
@yannickmonney
yannickmonney deleted the perf/chat-scrolling-jitter branch April 7, 2026 22:35
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.

perf: Chat page scrolling jitter on devices without dedicated GPU

1 participant