Jump to content
Search Community

matusbossak

Members
  • Posts

    3
  • Joined

  • Last visited

matusbossak's Achievements

  1. Thanks a lot Jack. I actually tried this, that I wrapped everything into container (which has position fixed while animation is running), but this wasn't suitable for me, because I'm trying to run GSAP animation on child element. The child element is child of parent element. Parent element has siblings which I'd like to be visible (without any movement = this means no whitespace creation) while doing the animation (the parent element is < 100vh => siblings are visible). The only suitable solution I can come up with is to wrap parent element and it's siblings into container, but since the parent element and it's siblings are children of document.body, that means I should pin document.body? This doesn't seems right to me. Or would that work all right? Thanks.
  2. Hello there, I'm wondering if it's possible to keep an element pinned during animation without the need to add extra white spaces. I'm specifically looking at this above the ".section:has(.square)" (while doing animation) and, if pinSpacing is enabled, below it too. Appreciate your help! Edit: The goal is to stack (pin) the user on top of the element before the animation starts and unstack (unpin) the user after it finishes, without any additional whitespace. Matus
×
×
  • Create New...