Jump to content
Search Community

I'm having ScrollTrigger Issues on Horizontal Scroll in GSAP 3

Newbie_Jim test
Moderator Tag

Recommended Posts

  • Newbie_Jim changed the title to I'm having ScrollTrigger Issues on Horizontal Scroll in GSAP 3

Welcome to the forums, @Newbie_Jim.

 

I read your question several times and I don't understand what you're asking, sorry. Can you please be more specific? 

 

Here are some tips that will increase your chances of getting a relevant answer:

  • A clear description of the expected result - "I am expecting the purple div to spin 360degrees"
  • A clear description of the issue -  "the purple div only spins 90deg"
  • A list of steps for someone else to recreate the issue - "Open the demo on mobile in IOS safari and scroll down to the grey container" 
  • A minimal demo - if possible, using no frameworks, with minimal styling, only include the code that's absolutely necessary to show the issue. Please don't include your whole project. Just some colored <div> elements is great.
Link to comment
Share on other sites

Hi,

 

This is not a simple thing to achieve but not extremely complicated neither. Is about layout and the initial setup of your elements:

https://3dtransforms.desandro.com/carousel

 

Here is a demo that uses GSAP and ScrollTrigger for this:

See the Pen eYxOXPP by GreenSock (@GreenSock) on CodePen

 

Hopefully this helps you getting started.

Happy Tweening!

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...