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

What is Framer? Join the Community
Return to index
Minjong Lee
Posted Oct 12 - Read on Facebook

Hello! Does anyone have the same issues with draggable?
When I attempted following code,

layerA.draggable.enabled = true
layerA.draggable.horizontal = false
layerA.on Events.DragEnd, ->
y: 0

the draggable element jumps and positions into random y points not to y:0. Am I missing something?


Tes Mat

Hard to say with the code pasted like this, because the problem might be indentation. Could you add your project? (a link to it on

Tes Mat

Anyway, something like this should work:

Tes Mat

Tes Mat

(you don’t need to write ‘properties’ anymore)

Minjong Lee

Hello Tes Mat, thank you so much for your reply.
I've uploaded it in the cloud:
Looks like the issue still persist. Any thoughts?
It's supposed to animate to y:1102 on drag end.

Taylor Palmer

Hi Minjong, I didn't have time to work out a solution but I think the reason it's happening is because when you let up on the mouse (dragEnd) it tries to animate while the layer is still moving. I disabled momentum dragging and it's working better.

listscreen.draggable.momentum = false

Read the entire post on Facebook