Murio18 Posted November 14, 2023 Share Posted November 14, 2023 Hi team GSAP I don't know why when I press next or prev button the circle goes well but when I start to drag the circle rotates to the initial position then starts to spin See the Pen dyapvYW by Murio18 (@Murio18) on CodePen Link to comment Share on other sites More sharing options...
Rodrigo Posted November 14, 2023 Share Posted November 14, 2023 Hi, I think you are over engineering this far too much. Here is a fork of your codepen using just GSAP, no need for CSS Transitions in this IMHO. As you can see it GSAP keeps everything in sync: See the Pen KKJXKWY by GreenSock (@GreenSock) on CodePen Hopefully this helps. Happy Tweening! 1 Link to comment Share on other sites More sharing options...
Murio18 Posted November 14, 2023 Author Share Posted November 14, 2023 Thank you again have a nice day ! 😀 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now