Jump to content
Search Community

pylvin

Members
  • Posts

    3
  • Joined

  • Last visited

pylvin's Achievements

  1. Thanks for the answer @Cassie.Yes, I had to throw a section into another section via js and then initialize the ScrollTrigger.Thanks anyway?
  2. Thanks for the answer @Rodrigo, it works.But I would like to know if there are other solutions, because throwing sections inside other sections is not a good idea in my case (Sections will be filled separately through CMS) Any solutions even if it is a crutch and not the best practice does not matter
  3. Hi all.To avoid indents at the bottom I made a couple of manipulations.I added "margin" for the "pin-spacer" element at "onUpdate" method "scrollTigger".But when scrolling it is noticeable how the whole section jumps.Everywhere examples where the "pin" element covers the whole screen,but there are no examples where the elements keep their positions and without any gaps. I just wanted the section with cards was pinned to the top of the screen until it does not scroll to the end horizontally and that the gaps at the bottom was not, as the screens are different and everywhere look different.As you already know "pinSpacing:false" does not help, as the sections are layered on top of each other, and I do not need it.I will be glad to any suggestions. Pls check on full screen mode to better understand what i mean
×
×
  • Create New...