@devries-cameron20 / t3code Mirror · read-only / commits / 20ee041354
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 13:30 UTC

fix(web): font picker scrolls to every font in short windows (#22795)

Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>

Byntham committed Nov 14, 2026 at 13:51 UTC 20ee041354e0417e12914239964cca2833da824f
1 file changed +4 -2
apps/web/src/components/settings/FontFamilyPicker.tsx
+4 -2
@@ -199,8 +199,9 @@ export function FontFamilyPicker({
199 />
200 <div className="flex min-h-0 flex-1 flex-col overflow-hidden">
201 <ComboboxEmpty>No fonts found.</ComboboxEmpty>
202 - <div className="relative min-h-0 max-h-72 w-full flex-1 overflow-hidden">
203 - <ComboboxListVirtualized>
202 + {/* Short windows cap the popup; every level down to the list must shrink or rows are clipped unreachably. */}
203 + <div className="relative flex min-h-0 max-h-72 w-full flex-1 flex-col overflow-hidden">
204 + <ComboboxListVirtualized className="flex min-h-0 flex-col">
205 <LegendList<string>
206 ref={scrollRef}
207 data={items}
@@ -216,6 +217,7 @@ export function FontFamilyPicker({
217 onScroll={handleMetricsChange}
218 onLayout={handleMetricsChange}
219 onReady={handleMetricsChange}
220 + className="min-h-0"
221 style={{ height: listHeight }}
222 />
223 </ComboboxListVirtualized>