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

What is Framer? Join the Community
Return to index
Tudor Munteanu
Posted Feb 26 - Read on Facebook

I've been trying to use draggable.directionLock in a prototype recently and it seems to not work so I've compared it to the example on the website — which works as it's suppose to. But, as soon as I download and update the project to v.54 it stops working — . Any idea why? Thanks in advance!


Floris Verloop

Thanks for sharing! Not really sure why it has been working all along, but the draggable layers inside of the scroll component also need directLock set to true. Here's the updated example (added direction lock on line 51). →

Tudor Munteanu

Thanks! Works now, though after scrolling vertically it sometimes takes 2 tries to be able to swipe the item horizontally. Not that important but maybe something to look into.

Read the entire post on Facebook