Share Posted January 9, 2022 Hi, first: thanks for this great plugin to make animations awsome :-). Here's what I am trying to achieve: I have a web page (based on react) containing different tabs. In one of the tabs, I am running component with a gsap animation. If I switch to a different tab, I would like the animation to continue so that when I am returning to the tab that contains the animation the animated element is on a different position. The (quick and dirty) codepen shows the problem. If you run it, the box just moves along the path. Clicking on "Show other component" will show another component (just some simple text). Clicking on the button again returns to the animated component. But this time, the box is not moving anymore. Any ideas how this could be achieved? Best regards, Holger See the Pen MWEqrNK by geholger (@geholger) on CodePen Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now