fix(vscode): enable scrolling in local session history list#7873
Open
IamCoder18 wants to merge 1 commit intoKilo-Org:mainfrom
Open
fix(vscode): enable scrolling in local session history list#7873IamCoder18 wants to merge 1 commit intoKilo-Org:mainfrom
IamCoder18 wants to merge 1 commit intoKilo-Org:mainfrom
Conversation
The .session-list wrapper was missing flex: 1 and min-height: 0, causing the list to size to its content instead of being constrained by the parent flex container. Without a constrained height, the overflow-y: auto on the inner list-scroll element never triggered, making the session list unscrollable. The cloud session list already had these properties (.cloud-session-list).
|
@IamCoder18 is attempting to deploy a commit to the Kilo Code Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 files)
Reviewed by gpt-5.4-20260305 · 338,033 tokens |
1 task
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.
Context
The local session history list in the VS Code extension's HistoryView could not be scrolled. When users navigated to the History panel and had more sessions than fit on screen, the list was stuck — scrolling had no effect.
Closes #7856
Closes #7002
Implementation
The
.session-listwrapper div was missing CSS flex properties needed to constrain its height within the parent flex layout. Withoutflex: 1andmin-height: 0, the list sized to its content height rather than being clipped by the flex container. Since the inner[data-slot="list-scroll"]element (which hasoverflow-y: auto) never overflowed, scrolling was impossible.The cloud session list (
.cloud-session-list) already had the correct properties:The fix adds the equivalent block for
.session-listinchat.css.Layout chain:
Screenshots
Before:
before.mp4
After:
after.mp4
How to Test
Get in Touch
My discord is
@iamcoder18and I am in the Kilo Code discord server.