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?

3 Comments

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. https://framer.cloud/hqirW

Jonas Treub

Read more about scope in our Programming primer: https://framer.com/getstarted/programming/#scope

Abdulwahab Imogie Mubarak

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

Read the entire post on Facebook