Skip to content

fix: virtualize cline chat message list with react-virtuoso#516

Draft
nzneit wants to merge 1 commit into
cline:mainfrom
nzneit:fix/virtualize-chat-panel-messages
Draft

fix: virtualize cline chat message list with react-virtuoso#516
nzneit wants to merge 1 commit into
cline:mainfrom
nzneit:fix/virtualize-chat-panel-messages

Conversation

@nzneit

@nzneit nzneit commented May 25, 2026

Copy link
Copy Markdown

Replaces the full-DOM message list in cline-agent-chat-panel with react-virtuoso so long sessions no longer render every message as a live DOM node. Also wraps ClineChatMessageItem in React.memo so unchanged messages skip re-renders during streaming.

Resolves: #515

Replaces the full-DOM message list in cline-agent-chat-panel with
react-virtuoso so long sessions no longer render every message as a
live DOM node. Also wraps ClineChatMessageItem in React.memo so
unchanged messages skip re-renders during streaming.
@DevinJamesK

Copy link
Copy Markdown

Awesome update, I will test this ASAP.

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.

cline-agent-chat-panel: UI becomes unusable in long sessions due to unvirtualized message list

2 participants