Ohhh I didn't see it. My bad... Thanks Carl.
@GreenSock Could I leave it as suggestion for next releases? Also the feature to lerp sections instead of the whole container.
😊
Hello Beautiful people.
Is there any way to avoid ScrollSmoother to overlap when using multiple instances?
Currently, it seems that is applying body container height to other instances (i.e: Modal cutting off)
Thanks in advance
You're right. But seems even the ease:'back.inOut' even in this older version is not working as well.
Ok.. waiting for those minor issues get solved.
Thanks again @ZachSaucier
You can see the speending working diferently on these examples (same code):
Newest Version:
https://codepen.io/victorwork/pen/poNKamw
v3.2.6
https://codepen.io/victorwork/pen/WNoyyNV
Hey @ZachSaucier, thanks for the heads up... seems like the duration also is not working properly.
Are you able to say if this bug is impacting only the Codepen's version or the npm as well?
Hey Guys,
I'm getting a weird behavior (probably in my end) using ScrollTrigger.batch() as you can see on the pen attached (you may need to open Codepen's link), when you scroll it the animation get scrambled and doesn't run in the right order.
What's exactly am I doing wrong here?
Thanks in advance.
Hey @ZachSaucier Thanks, that works ... was a miss configuration on my end.
Seize the same topic to dont flood the forum...
Is there a way do get scrolling direction? For example.. detecting scrollup or scrolldown inside of a Scrub animation?
@ZachSaucier
Thanks for helping me out... I appreciate it.
Seizing the opportunity... a quick question.
Is there a way to fire a animation on ScrollTirgger before the elements enters on the viewport?
Something like this:
ScrollTrigger.batch(this.unwrapTexts, {
onEnter: (elements) => {
gsap.fromTo($(elements).find('.wrapped-p'), { yPercent: 140 }, { duration: 4, yPercent: 0, ease: 'expo.out', stagger: .06 })
},
start: 'top 110%',
once: true
})
Thanks in advance.
Hey All,
I've experiecing a weird issue with resizing.
Once I've resized the window the scrub effect completely disappears with the element.
Why does it happens and how could I fix that?
Thanks in Advance.
Regards