Hello,
in a Chrome app I'm developing, I sometimes need to move a webview's container element to a different parent container. Say it's roughly body > div1 > div2 > webview, I need to move div2 into another node (say, div3). So I do div3.appendChild(div1.removeChild(div2)). Unfortunately, no matter what I do, this causes the webview to lose all its state and reload the current URL.
Is there any way to prevent this from happening? It would require a huge amount of reengineering in this rather complex app to not have to move the node around.
Thanks.