Jump to content
Search Community

VictorAdt

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by VictorAdt

  1. Hi Zach, Thanks for your answer and the links you send me were very usefull. I read them and learn a lot! I finally manage to do what i wanted. https://codesandbox.io/s/sharp-tree-jmswz?file=/src/App.js thanks you a lot again for your help!
  2. Hello! I'm currently working on an animation with react and gsap. i'm trying to animate svg with gsap and react. i'm pretty close to the result but there is something i cant figure out: You can see my sample here: https://codesandbox.io/s/sharp-tree-jmswz When i hover a text, i only want to animate the hover one. but now every text are animating. I know its expected because they have all the same ref. I dont understand how to puts the refs dynamicaly (my data will be avaible through an API) to manage to animate only the one i'm hover on. i hope i'm clear in what i'm asking, and i'm sorry for my english. i only speak geek english so i'm in panic when i have to write in english ) thanks! Victor
×
×
  • Create New...