Skip to content

AI app generator: suggestion cards overflow at larger text sizes #19239

Closed

Description

@Itaxh1

Product impact

  • Primary loop layer: UX-Polish
  • 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

  1. Set a larger iOS text size.
  2. 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).

Evidence

Fix available

Fixed with a regression test on the fork branch design/v2-step0-tokens (394b5a7e8e). It will be linked from the draft PR.

Found while testing the Omi v2 Flutter restyle on an iPhone, then confirmed against main at 32c2ed22cf.

Activity

  1. added
    capture
    p0
    p3
    ux-polish
    and removed
    p0
    capture
    on Oct 6, 2026
  2. Dragonire9 commented on Oct 12, 2026

    @Dragonire9
    Contributor

    Fixed in #21341.

    • 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.
  3. moved this from In progress to In review in omi TODO / bountieson Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3ux-polish

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions