Jump to content
Search Community

luisnull666

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by luisnull666

  1. 1 hour ago, OSUblake said:

    You should probably use the scroller property instead.

    https://greensock.com/docs/v3/Plugins/ScrollTrigger/scroller

     

    Just need to figure out which element is doing the scrolling.

     

    image.png.89ab7f6b983b71fe0e516d89f260e5be.png

     

    Sorry, but i don't get it... who should have the trigger? ion-app?, the issue that i'm seeing is  that the elements inside the container are not getting the triggers as it should be...  

    https://stackblitz.com/edit/angular-ionic-gsap?file=src/app/pages/index/index.page.html

  2. 3 hours ago, OSUblake said:

     

    Ionic uses a nested container for scrolling, so you will probably have to use a reference to that container for the trigger.

    https://greensock.com/docs/v3/Plugins/ScrollTrigger/trigger

     

    When you say that i need to use a reference to the container for the trigger you mean that i need to specify a component and give it the values of a trigger? 

    https://stackblitz.com/edit/angular-ionic-gsap?file=src/app/pages/index/index.page.ts

    Would please help me?, here is a stackblitz with Anguar, ionic and the example with gsap scroll trigger & the issue.

×
×
  • Create New...