Jump to content
Search Community

mdigitalia

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mdigitalia's Achievements

0

Reputation

  1. I've been experiencing a problem for some days. I've coded some simple fade in and parallax animations activated on scroll via the scrollTrigger plugin. //this is the code: I just change the transitions for differentiating the animations gsap.utils.toArray('.fade-from-l').forEach(section => { gsap.from(section, { scrollTrigger: { trigger: section, start: "top bottom", toggleActions: "play reset play reset", }, ease: "power3.out", x:-100, opacity: 0, duration:1, }); }); In the codepen everything is working allright (I just copied the code for the animations), but for reasons to me unknown in my local project the animations stopped working. They simply do not work, elements stay in place as they are before the animations: for fade in animations they remain at opacity 0, for parallax animations elements just stay in their place. This was not the case until some days ago. Nothing appears in the debugging console, and no code errors are highlighted via visual code studio. All other not looped animations work just fine. Can you think of any reason for such a behavior? Some performance issue maybe? I'm sorry but I cannot upload original code for the whole page
×
×
  • Create New...