Skip to content

Smooth streaming scroll and drop header em dash - #3

Merged
ankamteja merged 1 commit into
mainfrom
feat/rag-web
Aug 20, 2026
Merged

Smooth streaming scroll and drop header em dash#3
ankamteja merged 1 commit into
mainfrom
feat/rag-web

Conversation

@ankamteja

Copy link
Copy Markdown
Owner

Scrolling up to re-read while an answer streamed was janky: every token called scrollIntoView and yanked the viewport back down, fighting the manual scroll. Autoscroll is now sticky — it follows the stream only while the reader is at the bottom, and stops the moment they scroll up. One page-level scroll listener instead of one per question. Header reworded to drop the em dash. Suite 60 passing; verified live on device.

Scrolling up to re-read while the answer streamed was janky: every token called
scrollIntoView and yanked the viewport back to the bottom, fighting the manual
scroll. Autoscroll is now sticky — it follows the stream only while the reader is
already at the bottom, and stops the moment they scroll up. One scroll listener
for the page instead of one added per question.

Header now reads "note chunks. Retrieval first" instead of joining the clauses
with an em dash.
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1522299d-f898-430c-ac71-edceaae418d2


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.

@ankamteja
ankamteja merged commit c759a77 into main Aug 20, 2026
5 of 6 checks passed
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