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

What is Framer? Join the Community
Return to index
Kevan Lin
Posted Jun 21 - Read on Facebook

Framer newbie! I have a for loop that creates these buttons. Inside of the same loop I have an event listener for any clicks on these buttons and when there is a click, the .html should change and the color should change. For whatever reason, only the last button changes in state (but only turning green and not changing text). Any thoughts? Thanks!


Brian Williams

is that button active bool shared across all buttons?

Kevan Lin

I'm not entirely sure what you mean by that? Should that be located outside of the for loop?

George Otsubo
Read the entire post on Facebook