beavykins Posted April 27, 2022 Share Posted April 27, 2022 I have an issue where when I pin an element and specify a spacer element the spacer isn’t given a height so it collapses as the element pins. If I don’t specify a spacer and let scrollTrigger create one it works as expected. Am I missing something? Thanks! See the Pen ZEvgQmN by beavykins (@beavykins) on CodePen See the Pen rNpXxzR by beavykins (@beavykins) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted April 27, 2022 Share Posted April 27, 2022 Interesting, thanks for posting this. I don't think this is right. Looking into it 👀 1 Link to comment Share on other sites More sharing options...
beavykins Posted April 28, 2022 Author Share Posted April 28, 2022 Thanks! Link to comment Share on other sites More sharing options...
GreenSock Posted April 29, 2022 Share Posted April 29, 2022 Thanks for reporting that, @beavykins. That should be resolved in the next release which you can preview at https://assets.codepen.io/16327/ScrollTrigger.min.js Does that work better for you? PS: that's an excellent minimal demo! We're so grateful for folks like you who take the time to isolate things so effectively. 🙌 2 Link to comment Share on other sites More sharing options...
beavykins Posted April 30, 2022 Author Share Posted April 30, 2022 Thanks for looking at this and fixing it so quickly! Also thanks for the kind words, glad I could help. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now