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

What is Framer? Join the Community
Return to index
Edward Sanchez
Posted Aug 26 - Read on Facebook

What's the difference between TouchEnd, DragEnd and Click? DragEnd is evoked even when you just tap an object.
I need to perform different functions on each of those events.

3 Comments

Koen Bok

I think you want to compare the start/end positions of the drag. But I should maybe build that in. Here is an example:

http://cl.ly/00003R3j3h0y

Edward Sanchez

Oh yes building it in would have saved me like 2 hours of cracking my brain figuring out workarounds and debugging. Ended up setting triggers. Will share my code tomorrow.

Stephen Crowley

Thank you! This example was super helpful for an issue I was having this morning. You guys saved me so much time.

Read the entire post on Facebook