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

What is Framer? Join the Community
Return to index
Stan Dézaid
Posted Jan 08 - Read on Facebook

Hey all !
Quick fix needed :
I have several draggable cards on my screen (similar to Google Primer, or Tinder). When I drag it up, left or right, it goes off screen.

I want to find a way to get the previous card back on the screen when I swipe down (just like Primer does).

I tried this :
Card.on Events.DragStart, ->
if Card.draggable.direction is “up”
# nothing
# bring card back

but I can’t make it work, as it always returns “up”.
Tried the same with Scroll instead, but also failed.

Any quick fix for that ?

Thanks and lovely day to all !