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

What is Framer? Join the Community
Return to index
Hayden Schoen
Posted May 28 - Read on Facebook

I have been using Hammer.js for swipe and drag gestures with Framer 2 and it was working great. I can't seem to get it to work with Framer 3 though. Has anyone else had any luck integrating it into their workflow? Here is an example of me trying to use it in my app.js:

A = Framer.Importer.load("imported/MyFileToLoad")

//Make something drag
Hammer(A.GroupMover._element, options).on("drag", function(event){
A.GroupToBeMoved.y = initialY + event.gesture.deltaY
console.log("I am dragging")
})

1 Comments

Koen Bok

If this worked in Framer 2 it should work in 3. Can you send me some example project so I can investigate?

Read the entire post on Facebook