Skip to content

fix: enable scrolling in welcome view custom API options#11801

Open
roomote[bot] wants to merge 1 commit intomainfrom
fix/welcome-view-overflow-scroll
Open

fix: enable scrolling in welcome view custom API options#11801
roomote[bot] wants to merge 1 commit intomainfrom
fix/welcome-view-overflow-scroll

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Feb 28, 2026

Related GitHub Issue

Closes: #11800

Description

This PR attempts to address Issue #11800, based on feedback from @SkarnerV.

The welcome view's API options container used overflow-clip which prevented scrolling when content exceeded the max-h-[600px] constraint. When selecting providers like "OpenAI Compatible" that render many fields, the extra content was clipped and unreachable.

The fix changes overflow-clip to overflow-y-auto in WelcomeViewProvider.tsx (line 380), which enables vertical scrolling within the container while preserving the expand/collapse animation that relies on max-height transitioning from 0 to 600px.

Feedback and guidance are welcome.

Test Procedure

  1. Reset Roo Code via "About Roo Code" > Reset
  2. Click "or use without an account"
  3. Choose "3rd-party Provider" and select "OpenAI Compatible" for API Provider
  4. Verify that the API options area is now scrollable when content overflows
  5. Verify the expand/collapse animation still works when switching between provider options

Existing tests pass: cd webview-ui && npx vitest run src/components/welcome/__tests__/WelcomeViewProvider.spec.tsx (13 passed, 2 skipped)

Pre-Submission Checklist

  • Issue Linked: This PR is linked to an approved GitHub Issue (see "Related GitHub Issue" above).
  • Scope: My changes are focused on the linked issue (one major feature/fix per PR).
  • Self-Review: I have performed a thorough self-review of my code.
  • Testing: Existing tests pass; this is a CSS-only change.
  • Documentation Impact: No documentation updates required.
  • Contribution Guidelines: I have read and agree to the Contributor Guidelines.

Screenshots / Videos

N/A - CSS-only change, visual verification needed in the extension.

Documentation Updates

No documentation updates are required.

Additional Notes

Single-line change: overflow-clip -> overflow-y-auto in webview-ui/src/components/welcome/WelcomeViewProvider.tsx.

Interactively review PR in Roo Code Cloud

Fixes #11800 - When selecting a 3rd-party provider like OpenAI Compatible
in the welcome view, the API options container used overflow-clip which
prevented scrolling when content exceeded the max-height. Changing to
overflow-y-auto enables vertical scrolling while preserving the
expand/collapse animation.
@roomote roomote bot marked this pull request as ready for review February 28, 2026 17:49
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Enable scrolling in welcome custom API options

1 participant