Copy link to clipboard
Copied
Hello there,
On Windows the event LOCATION_CHANGING is NOT fired if window.location is changed in JavaScript in the html file rendered in StageWebView.
Following link fires LOCATION_CHANGING event
<a href="anything">click me</a>
Following link DOES NOT FIRE LOCATION_CHANGING event. Will try to load "file:///anything" without firing the changing event, allowing to prevent default.
<a href="javascript:test();">click me</a>
// In JavaScript
function test() {
window.location = "anything";
}
This only happens on Windows. Code works well on iOS. (couldn't test on Mac or android).ù
Anybody ever faced this?