-
-
Notifications
You must be signed in to change notification settings - Fork 485
Description
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.
-
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. -
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