Jump to content
Search Community

Lottie and ScrollSmoother setup

Mattrudd test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Hi again... I'm looking to add a Lottie ScrollTrigger animation on a page with ScrollSmoother.

 

It's been a breeze to replace Locomotive Scroll so far, literally just snip out the scroller proxy and setup the ScrollSmoother at the beginning.

 

It seems I've skipped a beat here with this Lottie section though... with ScrollSmoother active, the Lottie animation runs and pins but doesn't scroll up to reveal the bottom spacer div. Have checked the Lottie helper function and searched the forum for any Lottie/ScrollSmoother examples and come up blank so far.

 

Have commented out the ScrollSmoother in the pen demo attached and it works as expected.

Any pointers to highlight what I've overlooked here would be as ever, very gratefully received! 🙃

 

 

See the Pen mdxVwXG by matt-rudd (@matt-rudd) on CodePen

Link to comment
Share on other sites

  • 11 months later...

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