Jump to content
Search Community

Fedya

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Fedya

  1. two days later I did it. I wonder what it didn’t work .... maybe I made a mistake somewhere before! I've already seen such a solution on the forum. but can anyone come in handy barba.hooks.beforeLeave(() => { ScrollTrigger.getAll().forEach(trigger => trigger.kill()) }); barba.hooks.after(() => { initScrolling(); });
  2. sorry. I mean they are not deleted in html if you look in devtool. I've tried all the barba hooks but the triggers remain. that's why I created triggers separately from animation. they are so removed, but not created and there is no control over the animation. anyway, thank you very much for trying to help me.
  3. yes they dig at every transition
  4. https://codepen.io/TogoRot/project/editor/ZooEEa poser. I made another page and if you go through them all. The trigger remains. even where there are none at all! ?
  5. so I did not kill triggers correctly) you are the best everywhere to have such support !! Thank you very much for saving my nerves and time! ?
  6. https://codepen.io/TogoRot/project/editor/ZooEEa# I have commented out some code to make css and html as little as possible.
  7. Yes, I did such a standard approach) but I would also like to add the onEnterBack animation to this trigger. And if it's not hard for you to look at the codepen code in the comment. where I kill the trigger and init again. For some reason, all triggers are not deleted. Already like the whole forum has read = (but still did not understand how to do it right!
  8. Hi everyone! I am new to GSAP animation. Faced a problem with the 'scrub' property. Found little information on this property in the docs. Any comments would be welcome. Forgive me for my English, I am from Russia! I hope you got what I meant =)
×
×
  • Create New...