Reduce scroll jitter from virtual items

This commit is contained in:
Shantur Rathore
2025-12-14 15:55:09 +00:00
parent 75b3699649
commit 4ed2361387
3 changed files with 17 additions and 4 deletions

View File

@@ -74,9 +74,6 @@ export const SessionView: Component<SessionViewProps> = (props) => {
}
async function handleSendMessage(prompt: string, attachments: Attachment[]) {
if (scrollToBottomHandle && import.meta.env?.DEV) {
console.debug("[SessionView] handleSendMessage scroll", props.sessionId)
}
scheduleScrollToBottom()
await sendMessage(props.instanceId, props.sessionId, prompt, attachments)
}