Jump to content
Search Community

ScrollTrigger not triggering on mouse scroll

Pixel-people test
Moderator Tag

Recommended Posts

Hi Guys,

 

I've rewrite the code several times, hope someone could steer me in the right direction. Codepen scrollTrigger works as aspected, but when i use the same code on staging, scrollTrigger wil not trigger. Could i turn on a debug-mode for scrollTrigger?

 

Already checked:

- Animation works without scrollTrigger in the timeline.

- Devtools bar would play the animation when in view

- No console log error

- With scrub: true, scrollTrigger will trigger

 

Element(s) to trigger

What can i do to make this work? 

 

Solution: looks like a need a start and end point. Still curious why codepen is working and dev-env start/end needed.

 

 

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...