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

What is Framer? Join the Community
Return to index
Nick Bewley
Posted Nov 15 - Read on Facebook

Another click vs drag problem :-( Why does dragEnd not fire?

http://codepen.io/nickbewley/pen/MYWVog

Thanks a ton!

2 Comments

Nick Bewley

Credit to Emanuele Salamone for the inspiration

Min-Sang Choi

you should check delta. set startx(on DragStart), endx(on DragEnd) and compare those values to see whether it's dragged (delta > 0) or clicked (delta == 0).

Read the entire post on Facebook