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

What is Framer? Join the Community
Return to index
Matt Wujek
Posted Dec 17 - Read on Facebook

Hi everyone, I have a really quick question. How do you restrict scrolling past a certain point? I'm sort of confused as to how "maxDragFrame" works.



Matt Wujek

Here's a quick screen recording:

Nina Wei

use "if" function? disable scroll when the layer reach a certain point

Benjamin Den Boer

Hey Matt Wujek, here's a way to prevent dragging your container past the top of the screen:

Matt Wujek

Awesome, thanks Benjamin

Matt Wujek

Benjamin, it seems that you need to add a line of code to achieve downward scrolling. What do you think?

Read the entire post on Facebook