Webtheoria Posted February 3 Posted February 3 Hello on horizontal scroll, the marker position does not match with the items position. See the Pen zxOQOZw by swaranan (@swaranan) on CodePen.
Solution GSAP Helper Posted February 3 Solution Posted February 3 It looks like you tried applying ease: "none" to the timeline (impossible) instead of the tween. const tl4 = gsap.timeline({ ease: "none", // <- BAD! ... }); tl4.from(logosWrapper, { ease: "none", // <- GOOD x: logosWrapperWidth + containerOffsetLeft }); Does that resolve things for you? 1
Webtheoria Posted February 4 Author Posted February 4 10 hours ago, GSAP Helper said: It looks like you tried applying ease: "none" to the timeline (impossible) instead of the tween. const tl4 = gsap.timeline({ ease: "none", // <- BAD! ... }); tl4.from(logosWrapper, { ease: "none", // <- GOOD x: logosWrapperWidth + containerOffsetLeft }); Does that resolve things for you? Thanks. It solved.
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