Relative Content

Tag Archive for reactjsnext.jsgsap

getting the state of an image with gsap flip before remvoing the class

I’m trying to do an image scaling on scroll with gsap scrolltrigger and flip plugin, it does seem that the everything is working fine except when i add the line to remove the class the flip state does not capture the initial state of the image, I assume because i add and remove the class quickly