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

What is Framer? Join the Community
Return to index
Amrit Mazumder
Posted Oct 05 - Read on Facebook

I'm using d3.js with Framer and I'm having some trouble getting events to work. When I append the svg to Framer.Device.Content, events work fine. But when I append the SVG to a Framer layer, events don't work anymore...



Amrit Mazumder

Got the Framer.Device.Content approach from Josh Ackerman. (thanks Josh!)

Jonas Treub

By default layer block all events of their html content. You can disable the blocking by setting the .ignoreEvents property of a layer to false.

Jonas Treub

Be sure to change
on("drag", moveMe)
on("click", moveme)
Because the "drag" isn't working for me

Read the entire post on Facebook