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

What is Framer? Join the Community
Return to index
Jon Arnold
Posted Mar 11 - Read on Facebook

I am trying to nest a page component with a scroll component. Is there a way to only allow one action at a time?
I don't want scrolling and changing the page at the same time.


Benjamin Den Boer

Hey Jon Arnold — the directionLock property is likely what you're looking for! It will snap your scrolling / dragging to a horizontal or vertical direction after a certain threshold (which you can customize). See more in our Docs: or check out this example:

Jon Arnold

Awesome! thank you Benjamin Den Boer

Read the entire post on Facebook