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

What is Framer? Join the Community
Return to index
Abdulwahab Imogie Mubarak
Posted May 02 - Read on Facebook

Hi guys, I'm new to using arrays and I'm trying to have the same hover state across multiple components.

I've manage to set up the array (I believe) but the hover state only works on the first component. How can I fix this?


Jonas Treub

Hi Abdulwahab. I shuffled your code a bit around. But the main thing is that I use the *this* keyword inside of the event callback.

Jonas Treub

Read more about scope in our Programming primer:

Abdulwahab Imogie Mubarak

Thanks a lot Jonas Treub. I'll go through it

Read the entire post on Facebook