RickBGove Posted September 7, 2023 Share Posted September 7, 2023 It's a basic issue of position: stickynot working due the parent element have overflow set. We would have to rewrite a huge amount of code to move the header outside of the overflow parent... I have a little experience with GSAP, and I know it can do amazing things... What I need to know is if we can use GSAP to make the header sticky gracefully... Thank you... See the Pen KKbaNyr by Richard-Gove (@Richard-Gove) on CodePen Link to comment Share on other sites More sharing options...
akapowl Posted September 7, 2023 Share Posted September 7, 2023 Welcome to the GSAP forum Rick. You'll probably want to have a look at ScrollTrigger its pinning feature and all the options that come with it for something like this. Then you could do something like this, e.g. I hope that will help get you started. See the Pen bGOgWZm by akapowl (@akapowl) on CodePen 1 Link to comment Share on other sites More sharing options...
RickBGove Posted September 7, 2023 Author Share Posted September 7, 2023 Thank you so much! This will work for sure! 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