fix(vscode): make session history list scrollable#7854
Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
Open
fix(vscode): make session history list scrollable#7854kilo-code-bot[bot] wants to merge 1 commit intomainfrom
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
Conversation
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.
Contributor
Author
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.4-20260305 · 532,424 tokens |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/sessionscommand) not being scrollable in the VS Code extension, preventing users from finding older sessions.Problem
The
div.session-listwrapper had no CSS rules, breaking the flex sizing chain between.history-view-contentand the inner[data-slot="list-scroll"]element. Withoutflex: 1andmin-height: 0, the container grew to its natural content height instead of constraining itself within the parent. This meantoverflow-y: autoon the scroll slot never activated — the content never overflowed.The flex chain:
Notably,
.cloud-session-listalready had the correct styles — only.session-listwas missing them.Fix
Add
display: flex; flex-direction: column; flex: 1; min-height: 0to.session-list, mirroring the existing.cloud-session-liststyles. 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