Skip to content

nuxt.com homepage temporarily overflows horizontally on scroll #2243

@Adebesin-Cell

Description

@Adebesin-Cell
Image

On the https://nuxt.com/ homepage, the page shifts horizontally when certain animations/components load.

This becomes noticeable around or after the section:

“Deploy anywhere
Deploy with one command. SSR, static, or edge — Nuxt adapts to your platform.”

Before reaching that section, the page appears to overflow horizontally. Then, once the animations/components initialize, the layout shifts.

It looks like a carousel/slider or animated element may temporarily affect the page width during initialization.

Reproduction

  1. Open https://nuxt.com/
  2. Observe the page width/layout during initial load
  3. Scroll toward the “Deploy anywhere” section
  4. Notice a horizontal layout shift/overflow occurs as animations/components initialize

Expected behavior

The page should not overflow horizontally or shift layout during animation/component initialization.

Environment

  • Browser: Chrome

Additional context

I recorded a video demonstrating the issue, but GitHub upload is currently failing for me at the time of issue submission, so I’m unable to attach it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions