This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Gideon Carstens
Posted Apr 09 - Read on Facebook

Hi everyone,

Sometimes there's a scenario where an action (eg. click) should scroll the page to a specific point or scroll to the bottom of the canvas. I know there are a few Framer methods for these kinds of things.

However I often find myself needing to write some kind of code like in the screenshot.

Is there maybe some kind of math calculation that takes the canvas size into account so that I can always reliably calculate how to scroll to a certain Y position?