Jump to content
Search Community

Muhammad Abdullah

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Muhammad Abdullah

  1. 2 hours ago, OSUblake said:

    Can you update your demo showing what you did and what isn't working? Thanks!

     

     

     

    Hi Blake, 

    it feels so awesome when I receive notification too quickly from GSAP and you champs <3.

    well, I've updated the demo . 

    Initially I've commented the code suggested in above threads you shared earlier.

    commented code : line # 45

     onLeave: function (self) {
            self.scroll(self.start);
            self.disable();
            self.animation.progress(1);
          }
     

     

    and I've added the a little tween with scrollTrigger on section-2 heading  and everything is working fine but once you uncomment the code I mentioned above then it doesn't work correctly.

    Please have a look on this and let me know what I'm missing.

    and yes I'm tweening happily 😉 .

    Thanks :)
     

  2. 11 hours ago, OSUblake said:

    Hi Muhammad,

     

    Check out the threads linked to here.

     

     

    Hi Blake,

    Thanks for the kind response. 

    I tried this solution and killed it on leave and it works correctly only for this section and unfortunately the rest of the animations of my page got destroyed due to the space removed on this section.

    how could I resolve that ?

    Thanks

  3. Hi GSAP champs,

    I've been working on an animation in which I draw three SVGs located in one section.

    I'm drawing the svgs with scroll-trigger in same timeline and also pinning that section with pinSpacing: true and the once: true is working fine as expected that it kills the timeline on completion.

    but the issue is the space that is being added by pinSpacing: true  is not removing it self when animation reaches the end. 

    Please help to achieve this.

    codePen demo is attached already.

    Thanks in Advance
     

    See the Pen dyZVGVj?editors=0010 by abdullah-rafique (@abdullah-rafique) on CodePen

  4. Hi GSAPians,

    I'm working on a landing page using GatsbyJs + GSAP. I've multiple sections in which I wanna apply the animations on scroll using scrollTrigger.

    so, I wanna know the best practice to register the scrollTrigger plugin when It's has to be used in multiple sections.
    Do I've to register it in each section's component?
    OR
    Is there any way to register it on one place and then use it in any section or component I want?


    Thanks
     

  5. Hi GSAP champs,

    Soon, I'm going to start working on a project which is a product landing page full of GSAP animations.
    So, currently we're planning to go with GatsbyJs & one an only GSAP. The animations required in that landing page: 

    • DrawSVG ( is it free?)
    • Pinning
    • ScrollTrigger

     

    So, I wanna confirm that does GSAP & GatsbyJs have full support for the GSAP, I mentioned above ?

    any useful resource or help or guidance would be appreciated.

    Thanks

  6. Hi Zach,

    Thanks for reaching out. I had attached the link of that cool effect I want and also this effect is in greensock's showcases.
    Sure I'll look into in three.js and thanks for guiding.
    I loved the greesock forum.

  7. On 6/3/2020 at 5:12 PM, Greg Stager said:

    A place to start might be to view the Rotate An Object tutorial found here.

     

    Also - here is a really basic CodePen to do something similar.

     

     


    hi Greg,

    Actually I had attached the link of that effect.
     

     

     

×
×
  • Create New...