Jump to content
Search Community

How to reconcile stagger animation with Finsweet CMS Filter?

bro-design test
Moderator Tag

Recommended Posts

Hi GSAP Community!👋

My name is Dmitrii, I'm Webflow developer and now I start to use GSAP in my projects)

In this project I use ScrollTrigger+ScrollSmoother. All works perfect but I stuck with development when tried to use GSAP + Finsweet CMS Filter.

The problem is that when I try to filter the cards — cards is filtered, but GSAP stagger animation works not correct. 

Here's a video▶️  with explanation of the problem. 

In ideal way to fixing this issue is when user click on filter button — "reset" the cards stagger animation.

How you suggest to do that? Thanks)
 

See the Pen MWdMzmb by brodesign (@brodesign) on CodePen

Link to comment
Share on other sites

Hi there, thanks for the video and demo!

 

You may be looking for ScrollTrigger.refresh() ?

https://gsap.com/docs/v3/Plugins/ScrollTrigger/refresh()/

If this isn't the solution, would you mind simplifying down your demo to *just* the basics. We just need to see the code that is causing the issue, please don't include your whole project and all the related JS and CSS. Just some colored <div> elements and the GSAP code is best. See if you can recreate the issue with as few dependencies as possible.

Thanks so much.

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