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

What is Framer? Join the Community
Return to index
Ben Callis
Posted Oct 19 - Read on Facebook

Two questions. First how do I keep a draggable layer from moving onCLick? How can I have draggable layers within a scroll component and still scroll without having the draggable layer open? here is an example

1 Comments

Benjamin Den Boer

Hiya Ben! (nice name). Let' see. So, you'll want to set propagateEvents on the scroll.content (parent) layer, not directly on the draggable feed layers (children). Secondly, because you're using negative x values as the draggable constraints, it will auto-snap on click, whether you're scrolling or not. Setting this to 0 will fix this issue. Here's your example with said fixes applied. Hope it helps. :-)

http://share.framerjs.com/70g8q6s8zasc/

Read the entire post on Facebook