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

What is Framer? Join the Community
Return to index
Steve Ruiz
Posted Apr 27 - Read on Facebook

Junu Joseph Yang asked a question yesterday that got me thinking about changing a draggable layer's constraints while that layer is dragging. This touches on a pretty common UI element - an element that can be dragged between a set number of positions - so I put together a class to handle it. Has anyone worked on something similar?

2 Comments

Sergey Voronov

i did other sample, when layer is not draggable until longpress, also with changing constraints:)

Aditi Mathur

this is very cool, thank you for sharing! I hope you don't mind I adapted your posController class for a school project!

Read the entire post on Facebook