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

What is Framer? Join the Community
Return to index
Paul Kooi
Posted Jan 05 - Read on Facebook

Forgive me if this is simple.

I have a container layer with a loop running inside it creating a number of layers. When the width of the items created in the loop exceeds it's container. I'd like it to wrap following the standard box model.

Can't seem to get this to happen. Thanks in advance for the help

3 Comments

Michell Tateoka

+1 I'm also curious about this.

Aalok Trivedi

Might be better way but I use a function to resize the parent layer after the looped layers are created. You can use the .contentFrame() function to calculate the total size of the children. https://framer.cloud/RLOEe

Gunna try to put this into a module (I'm sure one already exists), but I haven't delved deep into the scary world of modules yet.

Amrit Mazumder

One of my less favorite things about Framer...Heres how I went around it once upon a time...(not perfect)

Read the entire post on Facebook