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

What is Framer? Join the Community
Return to index
Blaine Billingsley
Posted Jul 06 - Read on Facebook

Maybe I am not understanding this correctly, but shouldn't the draggable.isDragging value be false immediately after the DragEnd event?

According to the documentation: "Whether the layer is currently being dragged (returns false when animating). (Read-only)"

Which leads to expect that if I print that value on DragEnd, it would return false, but it returns true.

5 Comments

Jordan Robert Dobson

What do you get if you print it with a zero second delay or a .001 second delay?

Blaine Billingsley

exactly what I expected :) thanks dude

Jordan Robert Dobson

Awesome. Yeah those fun 0 delay hacks.

Jordan Robert Dobson

I would think it would still report true throughout the lifecycle... I get what you're saying though.

Drag end does give position and velocity and so on... But I could see it reporting it has stopped too.

Koen Bok

To make this more clear we should maybe add things like: DragWillEnd and DragDidEnd but that means x2 the events :-)

Read the entire post on Facebook