the once: true , would also prevent it from replaying is the only issue. Do you see anything in my code that would effect the slide in functionality? If I don't add scrub, the slide left effect doesn't happen it just fades in - see css below
&.step-3 {
opacity: 0;
transform: translateX(20vw);
display: block;
}
I want to use toggle actions so that the animation does not play when the user scrolls back to the top but does play when they scroll back down.
I added scrub because my right to left animation was not running smoothly, it was just appearing not sliding in.