Jump to content
Search Community

pcreative

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by pcreative

  1. First of all, Congrats for this amazing library GreenShock.

     

    I've been reading on the forum first, trying to solve my problem but I couldn't solve it yet.

     

    My problem is: .pin-spacer remains on nuxt link to another page and I get a padding on the bottom. If y kill() my scrollTrigger in the beforeDestroy() hook, my nuxt page appears white, it seems to delete all what .pin-spacer had inside.

     

    I made a codesandbox for you to see: https://codesandbox.io/s/gsap-pages-problem-pghld?file=/pages/index.vue

     

    Edit: I tried both nuxt-gsap-module and manually import gsap and scrollTrigger with transpile option.

×
×
  • Create New...