Skip to content

Conversation

@0xajka
Copy link
Contributor

@0xajka 0xajka commented Jan 9, 2026

fixes issue #7494

Adding Zen as a provider caused the model picker to overflow in new sessions, rendering a black bar at the bottom. This was due to the picker having a fixed height while the model list grew.

Fix:
Clamp overflow in ModelSelectorPopover by adding overflow-hidden to Kobalte.Content, ensuring content stays within the fixed 320px height while remaining scrollable.

Change:

- <Kobalte.Content class="w-72 h-80 flex flex-col ... outline-none">
+ <Kobalte.Content class="w-72 h-80 flex flex-col ... outline-none overflow-hidden">

Tested:

Add Zen provider

Open model picker in a new session

Confirm no black bar and models scroll correctly

@0xajka 0xajka requested a review from adamdotdevin as a code owner January 9, 2026 15:23
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@0xajka 0xajka changed the title fix: #7494 prevent model picker overflow with Zen in new sessions fix: prevent model picker overflow with Zen in new sessions Jan 9, 2026
@adamdotdevin adamdotdevin merged commit 030b14a into anomalyco:dev Jan 9, 2026
5 of 8 checks passed
shuv1337 added a commit to Latitudes-Dev/shuvcode that referenced this pull request Jan 9, 2026
aryasaatvik pushed a commit to aryasaatvik/opencode that referenced this pull request Jan 10, 2026
zerone0x pushed a commit to zerone0x/opencode that referenced this pull request Jan 12, 2026
zerone0x pushed a commit to zerone0x/opencode that referenced this pull request Jan 12, 2026
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