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

What is Framer? Join the Community
Return to index
Richard Kho
Posted Dec 30 - Read on Facebook

I'm trying to build an animation for rows similar to what Apple Mail on iOS does -- when you swipe a row, it should snap to the hidden options after the swipe reaches a specific parameter, prevent the row from being swiped in an opposite direction that it doesn't support, and snap back into its original spot when something happens.

I've been playing around with the `draggable` property but my constraints aren't working the way I'd like them to, and I don't seem to be able to set the row's x property in a proper manner.

Does anyone have an example of how this is done?