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

What is Framer? Join the Community
Return to index
Nick Kutateli
Posted Mar 18 - Read on Facebook

Need a little help: having trouble adding events on a view controller where the event is on the active view. I'm not doing something right with how I'm updating the activeView var, but not sure how to fix it. In the example linked the event fires for the first view, but not for the rest. How do I make sure the event fires off of the updated activeView?

1 Comments

George Kedenburg III

hey nick! youre close here, but whats happening is that the event is only applied once, which is why its only working for the first view. what you should do is apply the event to every view (do this in the for loop) and then check inside the event if the view thats firing it is the active one

Read the entire post on Facebook