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

What is Framer? Join the Community
Return to index
Scott Savarie
Posted Jan 05 - Read on Facebook

Is there any equivalent to something like Swift / ObjC's userInteractionEnabled = false in Framer? I've tried ignoreEvents however this doesn't seem to stop invisible layers from blocking interaction with my scroll view. Also tried setting the visible state, which works, but then blocks any animation on the layer. Alternatively I could move layers off the screen while they're invisible but that seems super tedious.

Thanks for any help!


Joey Green

This is the exact issue I'm trying to figure out right now. I'm researching it today and will post what I find.

I was working on a alert type of view that pops up. So moving the invisible view(the view behind the popup) doesn't make since.

Carlos Cañas

layer.ignoreEvents -

Jordan Robert Dobson

If your invisible layers are only set with opacity = 0 they still allow interaction. You need to ignore events on those as well.

Anytime you add a click or touch event the ignoreEvents is set to false.

Jordan Robert Dobson

You can also use layer.visible = false and that will completely remove it from screen and it's events until it is visible again.

Joey Green

setting the layer that I wanted disabled visible to false worked for me

Joey Green


Read the entire post on Facebook