If i want to "Intro"-animate an Element (an img tag) the data-speed smooth scrolling is not working anymore. I tried also to animate an Container element with the same result. Is it possible to achieve that? What I also tried is to pause the ScrollSmoother till the intro is finished and then resume but the paused didint work:
let smoother = ScrollSmoother.create({
smooth: 1.5, // seconds it takes to "catch up" to native scroll position
effects: true, // look for data-speed and data-lag attributes on elements and animate accordingly
smoothTouch: 0.3,
// paused: true
});
let intro = gsap.timeline ({
onComplete: function() {
// smoother.paused = false;
}
});