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

What is Framer? Join the Community
Return to index
Giovanni Caruso
Posted Jul 12 - Read on Facebook

Hi! I'm trying to recreate the drag to resize interaction for a prototype I'm working on (just to be clear: the same interaction pattern to adjust HD partitions for Mac OS). I've taken inspiration from the prototype made by Marc Krenn (drag to resize a mask layer) but I can't recreate the proper behavior. Any example? :/

3 Comments

Trevor Phillippi

Pulled this out of something I was working on to use as an example for someone in the group a few weeks back. Click the block and drag the handles to resize. Idk if this is the right direction but it sounds like it might be: http://share.framerjs.com/osrb5qfi1mws/

Giovanni Caruso

Thank you Trevor. This will be useful twice – to explore Class in Framer and to get the math behind drag/resize. I'll dig into your code asap.

Giovanni Caruso

Done some tweak but I'm still struggling... http://share.framerjs.com/ds8ybg19dsqk/

Read the entire post on Facebook