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

What is Framer? Join the Community
Return to index
Francois Jordaan
Posted Jun 15 - Read on Facebook

Hi guys, I've used Framer for all of 2 hours now, and have an incredibly simple question. How do I contain one layer visually inside of another layer? (Equivalent of the parent layer having CSS overflow:hidden)

In the "See how Framer works" video, the top and bottom toolbars are cropped by the iPhone canvas and disappear when they move off-screen, but I can't see what code is doing the cropping.


Kees Plattel

you can use: layer.clip = true on a superlayer, so it clips the child layer.

Francois Jordaan

Hmm. Getting TypeError: undefined is not an object (evaluating 'MyLayer.clip = true')

Read the entire post on Facebook