Skip to content

Comments

New option to allow disabling auto-scroll of assistant messages#2724

Merged
hayescode merged 1 commit intoChainlit:mainfrom
jfperusse:feature/assistant-auto-scroll-option
Dec 19, 2025
Merged

New option to allow disabling auto-scroll of assistant messages#2724
hayescode merged 1 commit intoChainlit:mainfrom
jfperusse:feature/assistant-auto-scroll-option

Conversation

@jfperusse
Copy link
Contributor

@jfperusse jfperusse commented Dec 15, 2025

Summary by cubic

Adds a new config option to control auto-scrolling for assistant messages. Default is on, so behavior stays the same unless you disable it.

  • New Features

    • Added assistant_message_autoscroll (default true) to backend FeaturesSettings and config.
    • Updated types to include assistant_message_autoscroll.
    • ScrollContainer now respects this flag; Chat and Copilot pass it through.
  • Migration

    • To disable: set assistant_message_autoscroll: false in the Chainlit config.

Written for commit 7b09d58. Summary will update automatically on new commits.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. frontend Pertains to the frontend. labels Dec 15, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 5 files

@hayescode hayescode added this pull request to the merge queue Dec 19, 2025
Merged via the queue into Chainlit:main with commit f8294fb Dec 19, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Pertains to the frontend. size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants