Skip to content

fix(vscode): make session history list scrollable#7854

Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
fix/session-history-scroll
Open

fix(vscode): make session history list scrollable#7854
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
fix/session-history-scroll

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot bot commented Mar 28, 2026

Summary

  • Fix the session history list (accessible via menu bar or /sessions command) not being scrollable in the VS Code extension, preventing users from finding older sessions.

Problem

The div.session-list wrapper had no CSS rules, breaking the flex sizing chain between .history-view-content and the inner [data-slot="list-scroll"] element. Without flex: 1 and min-height: 0, the container grew to its natural content height instead of constraining itself within the parent. This meant overflow-y: auto on the scroll slot never activated — the content never overflowed.

The flex chain:

.history-view-content  ✅ flex: 1; min-height: 0; display: flex; flex-direction: column
  └── .session-list    ❌ NO styles (block element, unconstrained height)
       └── [data-component="list"]  ✅ display: flex; overflow: hidden
            └── [data-slot="list-scroll"]  ✅ overflow-y: auto (but never activates)

Notably, .cloud-session-list already had the correct styles — only .session-list was missing them.

Fix

Add display: flex; flex-direction: column; flex: 1; min-height: 0 to .session-list, mirroring the existing .cloud-session-list styles. This completes the flex sizing chain so the scroll container can properly constrain its height and activate overflow scrolling.


Built for josh by Kilo for Slack

The .session-list wrapper div had no CSS rules, breaking the flex
sizing chain between .history-view-content and the inner [data-slot="list-scroll"].
Without flex: 1 and min-height: 0, the container grew to its natural
content height, preventing overflow-y: auto on the scroll slot from
ever activating.

Add the same flex container styles that .cloud-session-list already had.
@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot bot commented Mar 28, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • packages/kilo-vscode/webview-ui/src/styles/chat.css

Reviewed by gpt-5.4-20260305 · 532,424 tokens

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.

0 participants