fix: prevent the model selector footer from covering options (#39668)

This commit is contained in:
Joel 2026-07-28 12:02:28 +08:00 committed by GitHub
parent e6e5d761c2
commit 49e74e2f58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -272,8 +272,10 @@ function Popup({
return (
<ModelSelectorPopupFrame>
<ModelSelectorSearchHeader inputValue={inputValue} onInputValueChange={onInputValueChange} />
{showCreditsExhaustedAlert && <CreditsExhaustedAlert hasApiKeyFallback={hasApiKeyFallback} />}
<ModelSelectorScrollBody label={t(($) => $['modelProvider.models'], { ns: 'common' })}>
{showCreditsExhaustedAlert && (
<CreditsExhaustedAlert hasApiKeyFallback={hasApiKeyFallback} />
)}
<ComboboxList className="max-h-none overflow-visible p-0">
<div className="pb-1">
{filteredModelList.map((model) => (