fix: change overflow-clip to overflow-y-auto in welcome view API options

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.
This commit is contained in:
Roo Code 2026-02-28 17:33:04 +00:00
parent 193053110b
commit e2c269df80

View file

@ -377,7 +377,7 @@ const WelcomeViewProvider = () => {
{/* Expand API options only when custom provider is selected, max height is used to force a transition */}
<div className="mb-8 border-l-2 border-vscode-panel-border pl-6 ml-[7px]">
<div
className={`overflow-clip transition-[max-height] ease-in-out duration-300 ${selectedProvider === "custom" ? "max-h-[600px]" : "max-h-0"}`}>
className={`overflow-y-auto transition-[max-height] ease-in-out duration-300 ${selectedProvider === "custom" ? "max-h-[600px]" : "max-h-0"}`}>
<ApiOptions
fromWelcomeView
apiConfiguration={apiConfiguration || {}}