I am using webview_flutter 0.3.3+1, my initialUrl loads fine, It contains various links, when clicking on a link it navigates properly but if a link has target set to _BLANK, it doesn't do anything.
WebView(
initialUrl: 'https://SOME_URL',
javascriptMode: JavascriptMode.unrestricted,
)
This Works
<a href="http://example.com">Link A</a>
below doesn't work, it should open external browser but click doesn't take anywhere
<a href="http://example.com" target="_BLANK">Link B</a>
This issue has been fixed in webview_flutter v0.3.19+6
https://github.com/flutter/plugins/pull/2500
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With