Jump to content
Search Community

ScrollTrigger.refresh() is not working

AsKadir test
Moderator Tag

Recommended Posts

Hey team,


I have a pinned box, which is fixed till the end of the page. And I have the Flickity carousel below.
So after the carousel is implemented, the pin stops working. I tried to add ScrollTrigger.refresh() after the carousel init, but it didn't work.

In the demo I added a delay for the carousel to show that the box was pinned and then stopped to work.
Can you guide me, please?

See the Pen wvxwQwg by naskadir (@naskadir) on CodePen

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