Hi tailbreezy,
tanks again!! I have tested your code, but the problem still exists. The element does not move to the position where it should be. Now here is my code. You can see that I add a delay to the last line to demonstrate the problem. I test your code but the problem still exists. The element isn't move to the position it shoud be. Here is my code now. You can see, I'm putting in a delay into while the last line to demonstrate the issue.
https://360.articulate.com/review/content/58842f33-bca8-4af7-a6f4-cc0724fd688b/review
What might help?
var tl = gsap.timeline();
var icon= document.querySelectorAll("[data-acc-text='icon']");
tl.to(icon, {repeat: 100, yoyo: true, ease: "power1. inOut", duration:2, repeatDelay: 0.25, scale:1.45 });
window.onresize = () => {
tl.progress(0) // go back to before the timeline progress has moved
gsap.killTweensOf(icon)
tl.to(icon, {repeat: 100, yoyo: true, ease: "power1. inOut", duration:2, repeatDelay: 0.25, delay: 2, scale:1.45 });
}