Skip to content

Prevent content shift on turn end - #10950

Merged
imanolmzd-svg merged 1 commit into
mainfrom
imanol/fix-scroll-jump
Jun 5, 2026
Merged

Prevent content shift on turn end#10950
imanolmzd-svg merged 1 commit into
mainfrom
imanol/fix-scroll-jump

Conversation

@imanolmzd-svg

Copy link
Copy Markdown
Contributor

Part of #10741

Why

Everytime a turn finished, the working indicator ("Considering next steps....") disappeared, and the Session actions (New Sessions, Move to Worktree...) appeared. These had different heights causing a visual jump in the conversation - See before video

Implementation

Wrap the WorkingIndicator in a persistent slot container with a fixed min-height so that toggling between the spinner and session actions does not cause the chat content to jump. This stabilizes the scroll position when live output finishes.

Screenshots / Video

Before

before-jump-fix.mov

After

after-jump-fix.mov

Testing

  • Typecheck
  • Unit tests pass
  • Manual verification as shown above

…tent shift

Wrap the WorkingIndicator in a persistent slot container with a fixed
min-height so that toggling between the spinner and session actions
does not cause the chat content to jump. This stabilizes the scroll
position when live output finishes.
@kilo-code-bot

kilo-code-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • .changeset/stable-working-indicator.md
  • packages/kilo-vscode/webview-ui/src/components/shared/WorkingIndicator.tsx
  • packages/kilo-vscode/webview-ui/src/styles/chat-layout.css

Reviewed by claude-4.6-sonnet-20260217 · 365,699 tokens

Review guidance: REVIEW.md from base branch main

@imanolmzd-svg
imanolmzd-svg enabled auto-merge (squash) June 5, 2026 13:04
@imanolmzd-svg
imanolmzd-svg merged commit 225b914 into main Jun 5, 2026
21 checks passed
@imanolmzd-svg
imanolmzd-svg deleted the imanol/fix-scroll-jump branch June 5, 2026 13:15
t7tran pushed a commit to t7tran/kilocode that referenced this pull request Aug 14, 2026
…tent shift (Kilo-Org#10950)

Wrap the WorkingIndicator in a persistent slot container with a fixed
min-height so that toggling between the spinner and session actions
does not cause the chat content to jump. This stabilizes the scroll
position when live output finishes.
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.

2 participants