Oyno Posted September 17 Share Posted September 17 Hello everyone, I'm a new user of GSAP and new to this forum. I'm encountering an issue with my infinite slider. It slides smoothly initially, but after some time, it gradually slows down until it comes to a stop, and then it starts moving again. I've been trying to find a solution for this problem but haven't had any luck so far. Additionally, I've noticed some lag on my website after some time of using the slider. I would greatly appreciate a quick response and assistance because I'm planning to deploy it on my website today. Thank you in advance! See the Pen LYMzyXg by Oynowan (@Oynowan) on CodePen Link to comment Share on other sites More sharing options...
Solution Rodrigo Posted September 17 Solution Share Posted September 17 Hi @Oyno and welcome to the GreenSock forums! You should take a look at the Horizontal Endless Loop helper function: https://greensock.com/docs/v3/HelperFunctions#loop Hopefully this helps. Happy Tweening! Link to comment Share on other sites More sharing options...
Oyno Posted September 17 Author Share Posted September 17 HI Rodrigo, thank you, it helped a lot. It's working now 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