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

What is Framer? Join the Community
Return to index
Aaron Brako
Posted Dec 12 - Read on Facebook

Does anyone have an example of using pages that can also be scrolled individually? So I can scroll vertically within a card until I get to the end, and if I continue scrolling, the next card snaps into place.

4 Comments

Andrew Nalband

Sounds like you'd want a scroll component as a sublayer of a page component, and then you'd need to monitor the y position of the scroll component with something like this:

Andrew Nalband

Then you could use an if statement to say that if scroll.content.y exceeded a certain value you'd scroll to the next page. Something like this.

Andrew Nalband

If you still have questions, let me know.

Andrew Nalband

Welllllll...I couldn't help myself, and this was a little trickier than I thought. Here's your example: http://share.framerjs.com/nrjdsybxpeig/

Read the entire post on Facebook