Skip to content

Smooth Scroll not resetting position & not responding to scroll section y-values in Framer #482

@sergeizolotov

Description

@sergeizolotov

Hi!

I’m using the Lenis Smooth Scroll component inside Framer — it works great overall, but I’ve noticed a couple of issues that seem to affect both my setup and other users as well.

  1. Scroll section y-value issue
    In my project, I have a scroll section with y: 150, but Lenis doesn’t respond properly to that y value.

  2. Scroll position not resetting on new content
    On detailed pages (for example, an article page with links to other articles), when I click one of the links, the new article loads but the scroll position doesn’t reset to the top — it stays where it was even though the content has changed.

This behavior happens especially when there’s only one Lenis component added inside layout templates.

Expected behavior:
• Lenis should scroll to the top when a new page or content is loaded.
• It should correctly handle custom scroll section offsets (like y: 150).

Thanks for your amazing work — the component is already fantastic, and with these small fixes, it could be perfect.

Best,
Sergei Zolotov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions