Hey folks,Is there any way to "stopEventPropagation"? So for example a click on a given layer doesn't propagate to its superLayer.Thanks!
You can explicitly turn off events for a layer with layer.off()
If you're having a specific problem, feel free to post your project and we can help you out!
hi Andrew Nalband, here's my example:
(desired behaviour is clicking on layerA doesn't trigger a click on parent element page1 )
how's this? http://share.framerjs.com/o4pkwn7zjziz/
thanks for your response Andrew Nalband. the problem is I don't want to completely disable events on page1, i still want to get those clicks on page1 (except when the clicks are on layerA)
I think Framer is basically DOM and JS, so you can do whatever you do with JS. In this case, "event.stopPropagation()"http://share.framerjs.com/lvav8ju7odw0/
Good call - that works http://share.framerjs.com/n4x8cyp3onca/