Jump to content
Search Community

Remove green pinSpacer label

hjcohen test
Moderator Tag

Recommended Posts

Hi GSAP Forums-

 

How can I remove the green pinSpacer label?  I cannot figure it out

Here is my ScrollTrigger instance on which it is being rendered.  Thank you in advance.

    const tlg = gsap.timeline({
      scrollTrigger: {
        trigger: pillarg.current,
        pin: true,
        pinSpacing: false,
        start: "center center",
        toggleClass: { targets: ".pillar-cards", className: "bg1" },
        toggleClass: { targets: ".pill1", className: "play" }
      }
    });
 
 
image.png.d750c880f3869f687fc0947025168f13.png
 
Link to comment
Share on other sites

Hi @hjcohen,

 

First thank you for being a Club GreenSock member and supporting GreenSock! 🥳

 

Regarding your issue, can you please provide a reduced minimal demo that shows the issue you're having? Is pretty hard for us to pinpoint exactly what the issue could be just with a few lines of code and a screenshot. It seems to me that you are using React, you can create a codesandbox installing the GSAP Trial package (look for the dependencies section on the left side bar and type gsap-trial) or you can fork this codepen:

 

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

 

I'll be waiting for your update.

 

 

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