Skip to content

Hero name input overflows page on long text #35

Open

Description

@kushalBanda

Bug

On https://blobatar.dev/, typing a long string into the "Let's find your blobatar" input causes the text to overflow the input, overlap the label above it, and push the page into horizontal scroll.

Repro

  1. Go to https://blobatar.dev/
  2. Click the name field, type a long string (80+ chars), e.g. thisisaveryveryveryverylongusernamethatshouldoverflowtheinputboxforsure123456789

Actual

Text grows past the input and overlaps the "your config" code panel. Page gets a horizontal scrollbar.

Expected

Input should cap its width to the layout (e.g. max-w-md container) and let the native input scroll internally, instead of growing unbounded.

Cause

apps/site/src/components/Hero.tsx around line 558-567: the inline-grid wrapper span sizing the input to its content (via an invisible mirror span) has no max-width, so long text grows the grid track past the page width.

Fix

Add max-w-full overflow-hidden to the wrapper span so it clamps to the parent max-w-md container; the native <input> then scrolls internally as usual.

Activity

  1. kushalBanda commented on Sep 19, 2026

    @kushalBanda
    Author

    Repro screenshot, typed a long name, text overflows the input and overlaps the config panel, page gets horizontal scroll:

    overflow repro

  2. kushalBanda commented on Oct 1, 2026

    @kushalBanda
    Author

    Hey @Alain00 could you please look into this issue and its PR: #36
    Thank you!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions