nw.js
nw.js copied to clipboard
Webview reloads after being moved through the DOM.
NWJS Version : 0.63 Operating System : Windows
Assume, we have window with jQuery attached and HTML code like this:
<webview src="https://google.com"></webview>
<div></div>
<button>Move it</button>
<script>
$("button").click(function(){
$("webview").insertAfter("div");
});
</script>
After clicking on button, I'm expecting that
Expected behavior
webview will be just placed after <div> ,
Actual behavior
but after being moved it also unexpectedly reloads.
May be fixed by moveBefore()
https://chromestatus.com/feature/5135990159835136