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

What is Framer? Join the Community
Return to index
Siavash Shabanipour
Posted Jul 10 - Read on Facebook

I have a ScrollComponent with a PageComponent inside. How can I stop the ScrollComponent from scrolling vertically while I'm scrolling the PageComponent horizontally. My implemenation so far stops the vertical scrolling while scrolling horizontally however I can't scroll vertically while dragging on the PageComponent layer.

2 Comments

Matthew Barton

Did you have any luck nesting the ScrollComponent with a PageComponent?

Benjamin Den Boer

Hey Siavash Shabanipour - you can set the lockDirection to true on both the Scroll- and PageComponent, and additionally disable horizontal/vertical scrolling on each respectively with scrollVertical and scrollHorizontal. Check out this example to see it in use: http://framerjs.com/examples/preview/#medium-app.framer

Read the entire post on Facebook