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

What is Framer? Join the Community
Return to index
Hugo des Gayets
Posted Mar 24 - Read on Facebook

Hi Frameristos, I need help !

I have a horizontally draggable element inside a vertically draggable container.

The trick to find is how can we disable the dragging of the container when dragging the child element horizontally ?



Jordan Robert Dobson

This has come up a few times in the last few days. It might be time to get to work.

Hugo des Gayets

Fair enough Jordan Robert Dobson I found the thread !
for the ones interested

Chris Camargo

Here's a great example as well. Side-to-side draggable carousel inside of a vertically scrolling layer. Works with a mouse or trackpad, fails with touch. Benjamin Den Boer, Koen Bok, any suggestions?

Koen Bok

I don't have a great answer for at least a couple more days. But what you need is a directionLock.

Chris Camargo

*eagerly waits for at least a couple more days*

Read the entire post on Facebook