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

What is Framer? Join the Community
Return to index
William Hutter
Posted Apr 29 - Read on Facebook

Hi guys! I'm trying to make a view animate while dragging its parent element, but the animated view is shaking while it's dragged and does look smooth. How can I prevent this ?

parentView.on(Events.DragMove, function() {
parentView.x = 0;
parentViewOffset = Math.abs(parentView.y)

properties: {y: parentViewOffset},
time: 200


Koen Bok

The dragmove event is called very often. So if you want to lag 200ms behind it with your animation look into utils.throttle

Read the entire post on Facebook