Copy link to clipboard
Copied
Clicking a button or link on a webpage inside a StageWebView with a target "_blank" has no effect. This leads to the impression that webpages inside an Air application are broken. I think it would be a rather easy addition to automatically call navigateToURL() for these clicks or alternatively create a new kind of LocationChangeEvent that reports that a _blank target was clicked and the developer can decide what to do in this case.
This is currently affecting our Facebook login for Windows Desktop, since "Forgot Login" or "Register" buttons on the Facebook login page have no effect and lead to the impression that it's a phishing page instead of a proper application.
As far as I am aware there are no workarounds. Could this be added to Air in the future? I think the effort would be really small.
Thanks in advance
Copy link to clipboard
Copied
have you tried to intercept it with the event LOCATION_CHANGING ?
Copy link to clipboard
Copied
Yes, the event is not thrown for _blank targets. I have also found several similar reports when searching for the issue online. So this seems to be a known limitation of StageWebView that I imagine to be fixable quite easily.