I'm very new to gsap and I've run into this problem. I'm using gsap to animate a progress bar, but when the browser tab or window is not visible the progress bar animation pauses. When I switch back to that particular tab it resumes. I need the animation to keep running even when the tab is not visible. How can I achieve this in gsap?
Here's my code:
var progressBarTimeline = new TimelineLite();
progressBarTimeline.fromTo(progressBarElement, 10, {width:0}, {width:100, ease:Linear.easeNo