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

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

Hi all, quick question that I can't seem to figure out. Is it possible to nest a page component inside of another page component? If so, how is it done?

7 Comments

Koen Bok

Sure. See an example here: http://share.framerjs.com/h9rtaoz2q7d5/

Jeff Szpak

Wow that was fast. Thank you!

Jeff Szpak

I'm not sure why that seemed so complicated. Thanks again. Loving Framer Studio btw

Jordan Robert Dobson

Koen - in that example if you scroll vertically and have a slight horizontal movement it moves to the next page. Maybe on touch end?

Jeff Szpak

Ok, so now I've encountered an interesting side effect. I have successfully nested the page components, however they both scroll horizontally (the nested page component is much smaller). When scrolling the smaller nested page component, the outer component scrolls as well. Is there a way to prevent this when scrolling the nested component?

Koen Bok

Yes, look into directionLock in the example.

Jeff Szpak

Ahh, I wondered if that might be the answer. Sorry - kind of a newb here. Thanks.

Read the entire post on Facebook