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

What is Framer? Join the Community
Return to index
Taylor Palmer
Posted Dec 19 - Read on Facebook

Is there a way on the Code side to implement the responsive resizing from the Design side?

I know about etc., but this only fires once, not on resize. Any ideas?


Maximilian Bredow


So far, I've been solving this by repeating e.g. Align.bottom(0) in the event but I'm sure there exists a more elegant solution

proxyLayer.onDrag ->
layer.child.y = Align.bottom(0)

Joseph Reni

framercasts uses flexbox:

Taylor Palmer

To anyone following this thread: looks like Utils.constrain might be what we're looking for:

Read the entire post on Facebook