codechirag
Members-
Posts
32 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Everything posted by codechirag
-
const tl = gsap.timeline({ scrollTrigger: { trigger: ".theApp", pin: true, pinSpacer: false, markers: true, start: "top top", // end: "bottom top", scrub: true, }, }); const app = gsap.utils.toArray(".app"); tl.to(app, { y: "0%", opacity: 1, scale: 1, ease: "back.inOut(4)", stagger: 1, duration: 0.5 }) .to({}, {}, "+=1") .to(".app1", { delay: 1, duration: 2, ease: "back.in(4)", yPercent: 0, xPercent: 155, scale: 0.5, opacity: 1 }) .to( ".app2", { duration: 2, ease: "back.in(4)", yPercent: 0, xPercent: 50, scale: 0.5, // opacity: 0 }, "<" ) .to( ".app3", { duration: 2, ease: "back.in(4)", yPercent: 0, xPercent: -50, scale: 0.5, // opacity: 0 }, "<" ) .to( ".app4", { duration: 2, ease: "back.in(4)", yPercent: 0, xPercent: -150, scale: 0.5, // opacity: 0 }, "<" ).to('.app img + div', {opacity: 0},"<") Hello wonderful community, Thanks for always being helpful. I have made one animation using scrollTrigger while pinning the section it is not working properly. If I enable markers and then check it works very smoothly but without markers the pin is not working properly the section gets pinned before the start point. Here I am sending the video link , I will be very much thankful for your help. Here I am also attaching GSAP code.
-
Hello my wonderful community, https://paretoweb.empyrealinfotech.net/ this is my website where I have used split-type with gsap animation my concern is that on very first load of the page animation except hero section doesn't work. and once we refresh the page all animations work fine. I don't understand why it that happening it is not throwing any error either. Need your help. useGSAP(() => { const animText = gsap.utils.toArray("h1"); animText.forEach((box) => { const splith1 = new SplitType(box, { types: "words, chars,lines" }); gsap.from(splith1.chars, { display: "none", stagger: 0.05 }); }); const animH2 = gsap.utils.toArray("h2"); animH2.forEach((box) => { const splith2 = new SplitType(box, { types: "words, chars,lines" }); gsap.from(splith2.chars, { display: "none", stagger: 0.05, scrollTrigger: { trigger: box, start: "top center" } }); }); });
-
Seamless loop direction change on scroll is not working infinitely
codechirag replied to codechirag's topic in GSAP
Hey @Rodrigo, Thanks a lot I understood it and working fine now by the above method.- 4 replies
-
- 1
-
- seamlessloop
- infiniteloop
-
(and 1 more)
Tagged with:
-
Seamless loop direction change on scroll is not working infinitely
codechirag replied to codechirag's topic in GSAP
thanks alot @mvaneijgen, your solution is correct but when I use it in my react project it is jerking when I add repeat: -1 and also when I just make a codeblitz snippet only for this section it worked fine. please look at this loom video , I will be very much thankful to you if you can correct me. here I am sharing my project fork in stackblitz. you can find that effect at the very bottom of the page.- 4 replies
-
- seamlessloop
- infiniteloop
-
(and 1 more)
Tagged with:
-
Seamless loop direction change on scroll is not working infinitely
codechirag posted a topic in GSAP
I was looking for marquee on scroll direction change example and thanks to this wonderful community I got it, I saw many threads for similar thing and one of them worked for me but I have little difference in my example, I have used helper function to make infinite and also for two opposite direction simultaneously. In my snippet the directions are working fine but it stops after sometimes and also at some points I found initially both were going in one direction. I request corrections from experts. Thanks a lot.- 4 replies
-
- seamlessloop
- infiniteloop
-
(and 1 more)
Tagged with:
-
Need some time of empty scroll or delay in horizontal scroll.
codechirag replied to Yagnik Patel's topic in GSAP
Yes, I think mvaneijgen is right, you should use timeline mostly. -
Hi @GreenSock, thanks for your response and sorry for improper explanation. I have removed unnecessary things as you said and I have shared a video link of the hero section flickering animation in iPhone 13 pro max. here is the link https://demo.solusent.com/ here is the video of flickering https://jmp.sh/6HXxxOgj and I have refined the gsap code here. https://stackblitz.com/edit/stackblitz-starters-kunktk?file=src%2FApp.tsx
-
I want smooth scrolling with GSAP scroll trigger animations
codechirag replied to codechirag's topic in GSAP
hahaha! sorry for that but I am not able to get membership right now. Thanks again.- 4 replies
-
- smooth scroll
- scroll trigger
-
(and 1 more)
Tagged with:
-
I want smooth scrolling with GSAP scroll trigger animations
codechirag replied to codechirag's topic in GSAP
@mvaneijgen I don't have club membership, is there any way we can achieve it with other plugins? Thanks for your response.- 4 replies
-
- smooth scroll
- scroll trigger
-
(and 1 more)
Tagged with:
-
Hello my Wonderful Community, I have created some pages with GSAP scroll trigger animations, but now I want to add smooth scrolling, whatever packages I found are creating fake scroll due to which my scroll trigger animations are not triggered. Is there any package or solution to solve it?
- 4 replies
-
- smooth scroll
- scroll trigger
-
(and 1 more)
Tagged with:
-
I want horizontal and vertical scroll sections together with scroll snapping
codechirag replied to codechirag's topic in GSAP
Thank you very much for helping @akapowl- 11 replies
-
- 1
-
- scrollsnapping
- horizontal scroll
-
(and 2 more)
Tagged with:
-
I want horizontal and vertical scroll sections together with scroll snapping
codechirag replied to codechirag's topic in GSAP
@mvaneijgen, Thank you very much I will take care of the points you mentioned and will practice it. Thanks again.- 11 replies
-
- scrollsnapping
- horizontal scroll
-
(and 2 more)
Tagged with:
-
I want horizontal and vertical scroll sections together with scroll snapping
codechirag replied to codechirag's topic in GSAP
Hello @mvaneijgen, thanks for your response. the above examples are very good, however those doesn't look page scroll effect but overlapping of a section one over another. That is why I gave the last pen in which it actually looks like proper scroll of sections. Hope you understand my project's requirement. Please let me know if I can do it in your pen example as well.- 11 replies
-
- scrollsnapping
- horizontal scroll
-
(and 2 more)
Tagged with:
-
I want horizontal and vertical scroll sections together with scroll snapping
codechirag replied to codechirag's topic in GSAP
Hey @mvaneijgen, here is what I have done using another pen. There are some issues like in initial section it is not fully scrolling to the next section's height (not scrolling 100vh). another issue is in the horizontal scroll it shows some glitchy transition (like while scrolling to second slide the first slide appears in a glitchy flash on the second slide and vice versa). and also is there any option to manage the speed of scroll? Thanks a lot again. https://codepen.io/EmpChirag/pen/ZEPWYoV- 11 replies
-
- scrollsnapping
- horizontal scroll
-
(and 2 more)
Tagged with:
-
I want horizontal and vertical scroll sections together with scroll snapping
codechirag replied to codechirag's topic in GSAP
Hi @mvaneijgen, thank you very much for your response. I have one request can you modify that pen with 2 horizontal sections and some vertical sections on scroll, because I am new in GSAP and find some difficulties in understanding the combining of the code. Thanks again.- 11 replies
-
- scrollsnapping
- horizontal scroll
-
(and 2 more)
Tagged with:
-
Hello, wonderful community. I am working on a project where I need scroll snapping but it has horizontal scroll and vertical scroll both, I got example of horizontal scroll with snapping to next section but I am not able to do it altogether. In this codepen only horizontal snapping is working. I need scroll snap work for whole page includes horizontal sections and vertical sections both. Help is appreciated always 😊
- 11 replies
-
- scrollsnapping
- horizontal scroll
-
(and 2 more)
Tagged with:
-
Okay Fine @GreenSock, I am using the helper function and I was thinking that if the above logic works than it will save a lot line of code that was the only reason but no problem if it doesn't work I will use the helper function. thanks a lot.
- 20 replies
-
- loop
- modifiersplugin
-
(and 4 more)
Tagged with:
-
@GSAP Helper, Thanks I will take care of it. Sorry. Here is my simple question with the below snippet how can I do infinite loop horizontal and vertical both by using above logic. when I tried using the same it didn't work. sorry if I have broke any guidelines. I am new here. https://codepen.io/EmpChirag/pen/wvOBoPG
- 20 replies
-
- loop
- modifiersplugin
-
(and 4 more)
Tagged with: