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

What is Framer? Join the Community
Return to index
Matthew Mang
Posted Aug 01 - Read on Facebook

Hey Frameristas,

I've set up an item template in design view with the appropriate constraints that resize content correctly when I resize the artboard in design view.

The problem is when I copy the template via code (i.e. itemTemplate.copy() ) and try to animate the copy to a new width, the elements inside don't resize according to the constraints :(

Anyone know how to get this working as expected?


Matthew Mang

Here’s a video demonstrating what I’m talking about: Design view template resizes as expected in design view, but when copied in code view and resized, it does not :(

Darin Dimitrov

I'm not sure fluid layouts are maintained when you move into code, but I might be wrong.

Read the entire post on Facebook