You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AI app generator: suggestion cards overflow at larger text sizes #19239
Involves data loss, failed capture, or broken sync/trust
Describe the bug
The "Try something like" strip is a fixed 160 pt high. Each card holds up to three lines of callout text at
line height 1.4 plus a compact "Try it" button, inside 20 pt padding, so with larger text the column overflows.
To reproduce
Set a larger iOS text size.
Settings → Developer → create an app with AI (the AI app generator page).
Current behavior
The same card in its 160 pt strip, in a widget test on main with real fonts: it overflows at the bottom by 6 pt
at 1.15×, 15 pt at 1.3× and 30 pt at 1.5× text. There are no errors at 1.0×.
Expected behavior
The strip grows with the text size (or the card content scales down).
Scaled the "Try something like" suggestion strip height dynamically with MediaQuery.textScalerOf(context) (160 * math.max(1.0, MediaQuery.textScalerOf(context).scale(16) / 16)).
Added hermetic regression test across 1.0x, 1.15x, 1.3x, and 1.5x text scales (ai_app_generator_large_text_test.dart) and unreleased changelog fragment.
Activity
test(app): regression tests for BasedHardware#19238, BasedHardware#19239
test(app): regression tests for BasedHardware#19238, BasedHardware#19239
fix(settings): scale AI app generator suggestion strip height with te…
test(settings): add regression test for AI app generator suggestion t…
test(settings): verify AiAppGeneratorPage fallback prompts across tex…
docs(changelog): add unreleased fragment for AI app generator suggest…
Dragonire9 commentedon Oct 12, 2026
Fixed in #21341.
"Try something like"suggestion strip height dynamically withMediaQuery.textScalerOf(context)(160 * math.max(1.0, MediaQuery.textScalerOf(context).scale(16) / 16)).ai_app_generator_large_text_test.dart) and unreleased changelog fragment.fix(settings): scale AI app generator suggestion strip height with te…