Alessandro Newzoo
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Alessandro Newzoo
-
-
Hello guys, thank you so much for GSAP, it's been my go-to tool for years now and couldn't live without!
I'm trying to have the green column to stick during the whole height of the blue column, and it's almost all how I wanted it, except for the fact that
end: bottom bottom
doesn't actually match the bottom of the pinned element, but it stops way before reaching the end of the green column, leaving quite a lot of white space.Unless I'm mistaken, the docs describe
bottom bottom
asQuotewhen the bottom of the trigger hits the bottom of the endTrigger
so this is what I'd expect:
Please, what am I doing wrong?
Thanks!See the Pen oNomRBp by solidpixel (@solidpixel) on CodePen
ScrollTrigger | Bottom-aligned pinned column
in GSAP
Posted
hi @akapowl wow that was quick, thank you for the prompt reply!
I can't believe I've been looking at the docs for hours today, and still didn't notice the
scroller
was actually the viewport 🤦♂️Thank you so much, that's exactly what I needed, I wish you all the best!