Hi GSAP community! What a wonderful tool to work with.
However, I do have a problem I can't seem to solve. Help would be much appreciated.
I'm developing a ScrollBased site using a huge iFrame backdrop. It's all working well, however on resize events the iFrame reloads. On desktop this rarely matters, however on mobile, there is basically always a resize event triggered when scrolling down, as the address and menu bars are minimising. This massively breaks the user interaction flow, and is also quite data intensive.
To reproduce, please open the Codepen: https://codepen.io/arnespremberg-the-animator/pen/WNGrPgz and resize once the iframe is loaded.
Any help with keeping the iframe from refreshing would be much appreciated! Thanks!